tf.compat.v1.ragged.RaggedTensorValue

View source on GitHub

Represents the value of a RaggedTensor.

tf.compat.v1.ragged.RaggedTensorValue(
    values, row_splits
)

Warning: RaggedTensorValue should only be used in graph mode; in eager mode, the tf.RaggedTensor class contains its value directly.

See tf.RaggedTensor for a description of ragged tensors.

Args:

Attributes:

Methods

to_list

View source

to_list()

Returns this ragged tensor value as a nested Python list.