sparse_tensor_slices_dataset: Splits each rank-N 'tf$SparseTensor' in this dataset...

View source: R/tensors_dataset.R

sparse_tensor_slices_datasetR Documentation

Splits each rank-N tf$SparseTensor in this dataset row-wise.

Description

Splits each rank-N tf$SparseTensor in this dataset row-wise.

Usage

sparse_tensor_slices_dataset(sparse_tensor)

Arguments

sparse_tensor

A tf$SparseTensor.

Value

A dataset of rank-(N-1) sparse tensors.

See Also

Other tensor datasets: tensor_slices_dataset(), tensors_dataset()


tfdatasets documentation built on Sept. 11, 2024, 8:53 p.m.