tensors_dataset: Creates a dataset with a single element, comprising the given...

View source: R/tensors_dataset.R

tensors_datasetR Documentation

Creates a dataset with a single element, comprising the given tensors.

Description

Creates a dataset with a single element, comprising the given tensors.

Usage

tensors_dataset(tensors)

Arguments

tensors

A nested structure of tensors.

Value

A dataset.

See Also

Other tensor datasets: sparse_tensor_slices_dataset(), tensor_slices_dataset()


rstudio/tfdatasets documentation built on April 13, 2025, 6:50 p.m.