class_docstr: Uniform Matching between the priors and gt boxes, which can achieve
  balance in positive priors, and gt_bboxes_ignore was not considered for
  now.
  
  Args:
      pos_ignore_thr (float): the threshold to ignore positive priors
      neg_ignore_thr (float): the threshold to ignore negative priors
      match_times(int): Number of positive priors for each gt box.
         Defaults to 4.
      iou_calculator (:obj:`ConfigDict` or dict): Config dict for iou
          calculator. Defaults to ``dict(type='BboxOverlaps2D')``
class_docstr_tok: ["Uniform","Matching","between","the","priors","and","gt","boxes",",","which","can","achieve","balance","in","positive","priors",",","and","gt_bboxes_ignore","was","not","considered","for","now",".","Args",":","pos_ignore_thr","(","float",")",":","the","threshold","to","ignore","positive","priors","neg_ignore_thr","(","float",")",":","the","threshold","to","ignore","negative","priors","match_times","(","int",")",":","Number","of","positive","priors","for","each","gt","box",".","Defaults","to","4.","iou_calculator","(",":","obj",":","`","ConfigDict","`","or","dict",")",":","Config","dict","for","iou","calculator",".","Defaults","to","``","dict","(","type='BboxOverlaps2D","'",")","``"]
code: def __init__(
      self,
      pos_ignore_thr: float,
      neg_ignore_thr: float,
      match_times: int = 4,
      iou_calculator: ConfigType = dict(type="BboxOverlaps2D"),
  ):
      self.match_times = match_times
      self.pos_ignore_thr = pos_ignore_thr
      self.neg_ignore_thr = neg_ignore_thr
      self.iou_calculator = TASK_UTILS.build(iou_calculator)
  
file_path: mmdetection/mmdet/models/task_modules/assigners/uniform_assigner.py
imports: from typing import Optional
  import torch
  from mmengine.structures import InstanceData
  from mmdet.registry import TASK_UTILS
  from mmdet.structures.bbox import bbox_xyxy_to_cxcywh
  from mmdet.utils import ConfigType
  from .assign_result import AssignResult
  from .base_assigner import BaseAssigner
label_desc: Use image node_id 1 to create a new UniformAssigner object from inherited base classes: BaseAssigner with example: obj = UniformAssigner(pos_ignore_thr, neg_ignore_thr, match_times, iou_calculator)