code: def test_random_bbox_crop_fixed_shape():
      input_shapes = {2: [[400, 300]], 3: [[400, 300, 64]]}
  
      crop_shapes = {
          2: [[100, 50], [400, 300], [600, 400]],
          3: [[100, 50, 32], [400, 300, 64], [600, 400, 48]],
      }
      for batch_size in [3]:
          for ndim in [2, 3]:
              for input_shape in input_shapes[ndim]:
                  for crop_shape in crop_shapes[ndim]:
                      for use_labels in [True, False]:
                          yield (
                              check_random_bbox_crop_fixed_shape,
                              batch_size,
                              ndim,
                              crop_shape,
                              input_shape,
                              use_labels,
                          )
  
imports: from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import pipeline_def
  import nvidia.dali.ops
  import nvidia.dali.fn
  import nvidia.dali.types
  import numpy
  import random
label_desc: Use image node_id 10 for calling a global function with example usage: test_random_bbox_crop_fixed_shape() without return types