code: def testRaggedMapFnPreservesUniformRowLength(self):
      # x and y are equal, except that x has uniform_row_length and y does not.
      x = ragged_tensor.RaggedTensor.from_uniform_row_length(
          ragged_factory_ops.constant([[1, 2], [3]]),
          uniform_row_length=2,
      )
      y = ragged_factory_ops.constant([[[1, 2], [3]]])
  
      a = ragged_functional_ops.map_flat_values(math_ops.add, x, y)
      self.assertAllEqual(x.uniform_row_length, a.uniform_row_length)
  
      b = ragged_functional_ops.map_flat_values(math_ops.add, y, x)
      self.assertAllEqual(x.uniform_row_length, b.uniform_row_length)
  
      c = ragged_functional_ops.map_flat_values(math_ops.add_n, [x, x])
      self.assertAllEqual(x.uniform_row_length, c.uniform_row_length)
  
      d = ragged_functional_ops.map_flat_values(
          math_ops.add_n, [y, x, y]
      )
      self.assertAllEqual(x.uniform_row_length, d.uniform_row_length)
  
imports: 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 import math_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_functional_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 18 for calling the RaggedMapInnerValuesOpTest obj's underlying member method code with example usage: obj.testRaggedMapFnPreservesUniformRowLength() without return types