Learn R Programming

tfdatasets (version 2.17.0)

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)

Value

A dataset.

Arguments

tensors

A nested structure of tensors.

See Also

Other tensor datasets: sparse_tensor_slices_dataset(), tensor_slices_dataset()