class_docstr: 2D Overlaps (e.g. IoUs, GIoUs) Calculator.
code: def __init__(self, scale=1.0, dtype=None):
      self.scale = scale
      self.dtype = dtype
  
file_path: mmdetection/mmdet/models/task_modules/assigners/iou2d_calculator.py
imports: import torch
  from mmdet.registry import TASK_UTILS
  from mmdet.structures.bbox import bbox_overlaps, get_box_tensor
label_desc: Use image node_id 1 to create a new BboxOverlaps2D object  with example: obj = BboxOverlaps2D(scale, dtype)