code: def _rt_inputs_to_tensors(self, rt_inputs, ragged_ranks=None):
      if ragged_ranks is None:
          ragged_ranks = [None] * len(rt_inputs)
      return [  # pylint: disable=g-long-ternary
          ragged_factory_ops.constant(rt_input, ragged_rank=rrank)
          if rrank != 0
          else constant_op.constant(rt_input)
          for (rt_input, rrank) in zip(rt_inputs, ragged_ranks)
      ]
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_concat_op_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.ragged import ragged_concat_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the RaggedConcatOpTest obj's underlying member method code with example usage: obj._rt_inputs_to_tensors(rt_inputs, ragged_ranks) and returns: unknown