The concatenated rows for this ragged tensor. `rt.values` is a potentially ragged tensor formed by flattening the two outermost dimensions of `rt` into a single dimension. `rt.values.shape = [nvals] + rt.shape[2:]` (where `nvals` is the number of items in the outer two dimensions o
(self)
| 846 | |
| 847 | @property |
| 848 | def values(self): |
| 849 | """The concatenated rows for this ragged tensor. |
| 850 | |
| 851 | `rt.values` is a potentially ragged tensor formed by flattening the two |
| 852 | outermost dimensions of `rt` into a single dimension. |
| 853 | |
| 854 | `rt.values.shape = [nvals] + rt.shape[2:]` (where `nvals` is the |
| 855 | number of items in the outer two dimensions of `rt`). |
| 856 | |
| 857 | `rt.ragged_rank = self.ragged_rank - 1` |
| 858 | |
| 859 | Returns: |
| 860 | A potentially ragged tensor. |
| 861 | |
| 862 | #### Example: |
| 863 | ```python |
| 864 | >>> rt = ragged.constant([[3, 1, 4, 1], [], [5, 9, 2], [6], []]) |
| 865 | >>> print rt.values |
| 866 | tf.Tensor([3, 1, 4, 1, 5, 9, 2, 6]) |
| 867 | ``` |
| 868 | """ |
| 869 | return self._values |
| 870 | |
| 871 | @property |
| 872 | def row_splits(self): |
no outgoing calls
no test coverage detected