tfdatasets (version 1.13.1)

tensors_dataset: 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