code: def testRaggedTensorShapeMismatchError(self):
      x = ragged_factory_ops.constant([[1, 2, 3], [4, 5]])
      with self.assertRaisesRegex(
          ValueError,
          r"tf.ragged.map_flat_values requires that the output of "
          "`op` have the same outer-dimension size as flat_values of any ragged "
          r"inputs. \(output shape: \(\); expected outer dimension size: 5\)",
      ):
          ragged_functional_ops.map_flat_values(math_ops.argmax, x)
  
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 16 for calling the RaggedMapInnerValuesOpTest obj's underlying member method code with example usage: obj.testRaggedTensorShapeMismatchError() without return types