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

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

tensor_slices_dataset(tensors)

Arguments

tensors

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

Value

A dataset.

See also

Other tensor datasets: sparse_tensor_slices_dataset, tensors_dataset