code: def _bboxes(record):
      if len(record.detection.label_ids) == 0:
          return torch.empty((0, 4))
      else:
          xyxys = [bbox.xyxy for bbox in record.detection.bboxes]
          return tensor(xyxys, dtype=torch.float32)
  
file_path: icevision/icevision/models/mmdet/common/bbox/dataloaders.py
imports: from icevision.models.mmdet.common.utils import convert_background_from_zero_to_last
  from icevision.core import *
  from icevision.imports import *
  from icevision.models.utils import *
label_desc: Use image node_id 10 for calling a global function with example usage: _bboxes(record) and returns: torch, tensor