code: def testRaggedCrossInvalidRaggedSplits(self, ragged_splits):
      # Test case in GitHub isseu 59114.
      with self.assertRaisesRegex(
          (ValueError, errors.InvalidArgumentError),
          "Invalid ragged splits",
      ):
          ragged_values_0_tensor = ops.convert_to_tensor(
              np.ones([3], dtype=str)
          )
          ragged_values_0 = array_ops.identity(ragged_values_0_tensor)
          ragged_values = [
              ragged_values_0,
          ]
          ragged_row_splits_0_tensor = ragged_const(
              ragged_splits, dtype=dtypes.int64
          )
          ragged_row_splits_0 = array_ops.identity(
              ragged_row_splits_0_tensor
          )
          ragged_row_splits = [
              ragged_row_splits_0,
          ]
          self.evaluate(
              gen_ragged_array_ops.RaggedCross(
                  ragged_values=ragged_values,
                  ragged_row_splits=ragged_row_splits,
                  sparse_indices=[],
                  sparse_values=[],
                  sparse_shape=[],
                  dense_inputs=[],
                  input_order="R",
                  hashed_output=False,
                  num_buckets=0,
                  hash_key=956888297470,
                  out_values_type=7,
                  out_row_splits_type=9,
              )
          )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_ragged_array_ops
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.ops.ragged import ragged_array_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 8 for calling the RaggedCrossOpTest obj's underlying member method code with example usage: obj.testRaggedCrossInvalidRaggedSplits(ragged_splits) without return types