Learn R Programming

tfdatasets (version 2.17.0)

as_tf_dataset: Add the tf_dataset class to a dataset

Description

Calling this function on a dataset adds the "tf_dataset" class to the dataset object. All datasets returned by functions in the tfdatasets package call this function on the dataset before returning it.

Usage

as_tf_dataset(dataset)

Value

A dataset with class "tf_dataset"

Arguments

dataset

A dataset