code: def testRaggedTensorSplitsMismatchErrorAtRuntime(self):
      splits1 = array_ops.placeholder_with_default(
          constant_op.constant([0, 3, 3, 5], dtypes.int64), None
      )
      splits2 = array_ops.placeholder_with_default(
          constant_op.constant([0, 1, 3, 5], dtypes.int64), None
      )
      x = ragged_tensor.RaggedTensor.from_row_splits(
          [3, 1, 4, 1, 5], splits1
      )
      y = ragged_tensor.RaggedTensor.from_row_splits(
          [1, 2, 3, 4, 5], splits2
      )
      with self.assertRaisesRegex(
          (ValueError, errors.InvalidArgumentError),
          r"partitions have incompatible",
      ):
          self.evaluate(
              ragged_functional_ops.map_flat_values(math_ops.add, x, y)
          )
  
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 17 for calling the RaggedMapInnerValuesOpTest obj's underlying member method code with example usage: obj.testRaggedTensorSplitsMismatchErrorAtRuntime() without return types