code: def testRaggedCrossLargeBatch(self):
      batch_size = 5000
      inputs = [
          ragged_const([[1, 2, 3]] * batch_size),
          ragged_const([[b"4"]] * batch_size),
          dense_const([[5]] * batch_size),
          sparse_const([[6, 7]] * batch_size),
      ]
  
      expected = [
          [
              b"1_X_4_X_5_X_6",
              b"1_X_4_X_5_X_7",
              b"2_X_4_X_5_X_6",
              b"2_X_4_X_5_X_7",
              b"3_X_4_X_5_X_6",
              b"3_X_4_X_5_X_7",
          ]
      ] * batch_size
  
      ragged_cross = ragged_array_ops.cross(inputs)
  
      # Note: we don't use assertAllEqual here because if they don't match,
      # then the code in assertAllEqual that tries to build the error message
      # is very slow, causing the test to timeout.
      # pylint: disable=g-generic-assert
      self.assertTrue(self.evaluate(ragged_cross).to_list() == expected)
  
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 2 for calling the RaggedCrossOpTest obj's underlying member method code with example usage: obj.testRaggedCrossLargeBatch() without return types