[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.compat.v1.ragged.RaggedTensorValue\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/ops/ragged/ragged_tensor_value.py#L24-L114) |\n\nRepresents the value of a `RaggedTensor`. \n\n tf.compat.v1.ragged.RaggedTensorValue(\n values, row_splits\n )\n\n| **Warning:** `RaggedTensorValue` should only be used in graph mode; in eager mode, the [`tf.RaggedTensor`](../../../../tf/RaggedTensor) class contains its value directly.\n\nSee [`tf.RaggedTensor`](../../../../tf/RaggedTensor) for a description of ragged tensors.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------------|--------------------------------------------------------------|\n| `values` | A numpy array of any type and shape; or a RaggedTensorValue. |\n| `row_splits` | A 1-D int32 or int64 numpy array. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|---------------------|-----------------------------------------------------------------------|\n| `dtype` | The numpy dtype of values in this tensor. |\n| `flat_values` | The innermost `values` array for this ragged tensor value. |\n| `nested_row_splits` | The row_splits for all ragged dimensions in this ragged tensor value. |\n| `ragged_rank` | The number of ragged dimensions in this ragged tensor value. |\n| `row_splits` | The split indices for the ragged tensor value. |\n| `shape` | A tuple indicating the shape of this RaggedTensorValue. |\n| `values` | The concatenated values for all rows in this tensor. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `to_list`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/ops/ragged/ragged_tensor_value.py#L105-L114) \n\n to_list()\n\nReturns this ragged tensor value as a nested Python list."]]