code: def random_3d_tensors_batch():
      return [
          np.random.randint(
              0,
              num_classes,
              size=np.random.randint(2, 8, size=(3,)),
              dtype=np.int32,
          )
          for _ in range(batch_size)
      ]
  
imports: from functools import partial
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.types
  from test_utils import check_batch
  from nose_utils import raises
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: random_3d_tensors_batch() and returns: unknown