def add_gt_(self, gt_labels):
    'Add ground truth as assigned results.\n\n        Args:\n            gt_labels (torch.Tensor): Labels of gt boxes\n        '
    self_inds = torch.arange(1, (len(gt_labels) + 1), dtype=torch.long, device=gt_labels.device)
    self.gt_inds = torch.cat([self_inds, self.gt_inds])
    self.max_overlaps = torch.cat([self.max_overlaps.new_ones(len(gt_labels)), self.max_overlaps])
    if (self.labels is not None):
        self.labels = torch.cat([gt_labels, self.labels])
Add ground truth as assigned results.

Args:
    gt_labels (torch.Tensor): Labels of gt boxes
def add_gt_(self, gt_labels):
    'Add ground truth as assigned results.\n\n        Args:\n            gt_labels (torch.Tensor): Labels of gt boxes\n        '
    self_inds = torch.arange(1, (len(gt_labels) + 1), dtype=torch.long, device=gt_labels.device)
    self.gt_inds = torch.cat([self_inds, self.gt_inds])
    self.max_overlaps = torch.cat([self.max_overlaps.new_ones(len(gt_labels)), self.max_overlaps])
    if (self.labels is not None):
        self.labels = torch.cat([gt_labels, self.labels])