code: def records(img, labels, bboxes):
      record = BaseRecord(
          (
              ImageRecordComponent(),
              InstancesLabelsRecordComponent(),
              BBoxesRecordComponent(),
          )
      )
  
      record.set_record_id(1)
      record.set_img(img)
      record.detection.set_class_map(ClassMap(["a", "b"]))
      record.detection.add_labels_by_id(labels)
      record.detection.add_bboxes(bboxes)
  
      return [record] * 2
  
file_path: icevision/tests/models/efficient_det/test_dataloaders.py
imports: import pytest
  from icevision.all import *
  from icevision.models.ross import efficientdet
label_desc: Use image node_id 4 for calling a global function with example usage: records(img, labels, bboxes) and returns: unknown