class_docstr: Represents the value of a `RaggedTensor`.
  
  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.
class_docstr_tok: ["Represents","the","value","of","a","`","RaggedTensor","`",".","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","."]
docstr: The number of ragged dimensions in this ragged tensor value.
docstr_tok: ["The","number","of","ragged","dimensions","in","this","ragged","tensor","value","."]
code: def ragged_rank(self):
      """The number of ragged dimensions in this ragged tensor value."""
      values_is_ragged = isinstance(self._values, RaggedTensorValue)
      return self._values.ragged_rank + 1 if values_is_ragged else 1
  
file_path: tensorflow-upstream/tensorflow/python/ops/ragged/ragged_tensor_value.py
imports: import numpy
  from tensorflow.python.ops.ragged.row_partition import RowPartition
  from tensorflow.python.util import dispatch
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 4 for calling the RaggedTensorValue obj's underlying member method code with example usage: obj.ragged_rank() and returns: unknown