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

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

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