code: def _nrows(rt_input, out_type):
      if isinstance(rt_input, ragged_tensor.RaggedTensor):
          return rt_input.nrows(out_type=out_type)
      else:
          return array_ops.shape(rt_input, out_type=out_type)[0]
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_where_op.py
imports: import typing
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.ragged import ragged_concat_ops
  from tensorflow.python.ops.ragged import ragged_functional_ops
  from tensorflow.python.ops.ragged import ragged_gather_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged import ragged_tensor_shape
  from tensorflow.python.util import dispatch
label_desc: Use image node_id 6 for calling a global function with example usage: _nrows(rt_input, out_type) and returns: rt_input, array_ops