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"


rstudio/tfdatasets documentation built on July 22, 2024, 12:41 a.m.