code: def random_tensor_shape():
      tensor_size = np.random.randint(5) + 1
      return np.random.randint(1, 10, size=(tensor_size)).tolist()
  
file_path: graphics/tensorflow_graphics/nn/metric/tests/intersection_over_union_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.nn.metric import intersection_over_union
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 2 for calling a global function with example usage: random_tensor_shape() and returns: np