code: def testReduceKeepsInnerDimensionShape(self):
      # Test for bug [b/139823356].
      rt = ragged_factory_ops.constant([[[[1, 1]]]], ragged_rank=2)
      self.assertEqual(rt.shape.as_list(), [1, None, None, 2])
      reduced = ragged_math_ops.reduce_sum(rt, axis=2)
      self.assertEqual(reduced.shape.as_list(), [1, None, 2])
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the RaggedReduceOpsTest obj's underlying member method code with example usage: obj.testReduceKeepsInnerDimensionShape() without return types