tensor_slices_dataset: Creates a dataset whose elements are slices of the given...

View source: R/tensors_dataset.R

tensor_slices_datasetR Documentation

Creates a dataset whose elements are slices of the given tensors.

Description

Creates a dataset whose elements are slices of the given tensors.

Usage

tensor_slices_dataset(tensors)

Arguments

tensors

A nested structure of tensors, each having the same size in the first dimension.

Value

A dataset.

See Also

Other tensor datasets: sparse_tensor_slices_dataset(), tensors_dataset()


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