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()


rstudio/tfdatasets documentation built on July 22, 2024, 12:41 a.m.