[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.ragged.RaggedTensorValue\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/ragged/ragged_tensor_value.py#L27-L110) |\n\nRepresents the value of a `RaggedTensor`.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.ragged.RaggedTensorValue`](/api_docs/python/tf/compat/v1/ragged/RaggedTensorValue)\n\n\u003cbr /\u003e\n\n tf.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/v1.15.0/tensorflow/python/ops/ragged/ragged_tensor_value.py#L101-L110) \n\n to_list()\n\nReturns this ragged tensor value as a nested Python list."]]