code: def testRaggedTensorSplitsValueMismatchError(self):
      x = ragged_factory_ops.constant([[3, 1, 4], [], [1, 5]])
      y = ragged_factory_ops.constant([[1], [2, 3], [4, 5]])
      with self.assertRaisesRegex(
          (ValueError, errors.InvalidArgumentError),
          r"partitions have incompatible",
      ):
          ragged_functional_ops.map_flat_values(math_ops.add, x, y)
  
      z_splits = array_ops.placeholder_with_default(
          constant_op.constant([0, 3], dtypes.int64), None
      )
      z = ragged_tensor.RaggedTensor.from_row_splits(
          [0, 1, 2], z_splits
      )
      with self.assertRaisesRegex(
          ValueError,
          r"Input RaggedTensors' flat_values must all have the same "
          r"outer-dimension size.  Got sizes: \{3, 5\}",
      ):
          ragged_functional_ops.map_flat_values(math_ops.add, x, z)
  
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 15 for calling the RaggedMapInnerValuesOpTest obj's underlying member method code with example usage: obj.testRaggedTensorSplitsValueMismatchError() without return types