as_tf_dataset: Add the tf_dataset class to a dataset

Description Usage Arguments Value

View source: R/dataset_methods.R

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

1
as_tf_dataset(dataset)

Arguments

dataset

A dataset

Value

A dataset with class "tf_dataset"


tfdatasets documentation built on Nov. 10, 2021, 1:07 a.m.