as_tf_dataset: Add the tf_dataset class to a dataset

View source: R/dataset_methods.R

as_tf_datasetR Documentation

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)

Arguments

dataset

A dataset

Value

A dataset with class "tf_dataset"


tfdatasets documentation built on June 30, 2022, 1:04 a.m.