docstr: Tests the cross product function.
docstr_tok: ["Tests","the","cross","product","function","."]
code: def test_cross_random(self):
      """Tests the cross product function."""
      tensor_size = np.random.randint(1, 4)
      tensor_shape = np.random.randint(1, 10, size=tensor_size).tolist()
      axis = np.random.randint(tensor_size)
      tensor_shape[axis] = 3  # pylint: disable=invalid-sequence-index
      u = np.random.random(size=tensor_shape)
      v = np.random.random(size=tensor_shape)
  
      self.assertAllClose(
          vector.cross(u, v, axis=axis), np.cross(u, v, axis=axis)
      )
  
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.geometry.transformation.tests import test_data
  from tensorflow_graphics.math import vector
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 6 for calling the VectorTest obj's underlying member method code with example usage: obj.test_cross_random() without return types