parameters: (self, anchors, num_classes, match_threshold=0.5)
docstring: Constructs anchor labeler to assign labels to anchors.
  
          Args:
            anchors: an instance of class Anchors.
            num_classes: integer number representing number of classes in the dataset.
            match_threshold: float number between 0 and 1 representing the threshold
              to assign positive labels for anchors.
docstring_summary: Constructs anchor labeler to assign labels to anchors.
docstring_tokens: Constructs anchor labeler to assign labels to anchors .
function: def __init__(self, anchors, num_classes, match_threshold=0.5):
          """Constructs anchor labeler to assign labels to anchors.
  
          Args:
            anchors: an instance of class Anchors.
            num_classes: integer number representing number of classes in the dataset.
            match_threshold: float number between 0 and 1 representing the threshold
              to assign positive labels for anchors.
          """
          similarity_calc = region_similarity_calculator.IouSimilarity()
          matcher = argmax_matcher.ArgMaxMatcher(
              match_threshold,
              unmatched_threshold=match_threshold,
              negatives_lower_than_unmatched=True,
              force_match_for_each_row=True,
          )
          box_coder = faster_rcnn_box_coder.FasterRcnnBoxCoder()
  
          self._target_assigner = target_assigner.TargetAssigner(
              similarity_calc, matcher, box_coder
          )
          self._anchors = anchors
          self._match_threshold = match_threshold
          self._num_classes = num_classes
function_tokens: def __init__ ( self , anchors , num_classes , match_threshold = 0.5 ) : similarity_calc = region_similarity_calculator . IouSimilarity ( ) matcher = argmax_matcher . ArgMaxMatcher ( match_threshold , unmatched_threshold = match_threshold , negatives_lower_than_unmatched = True , force_match_for_each_row = True , ) box_coder = faster_rcnn_box_coder . FasterRcnnBoxCoder ( ) self . _target_assigner = target_assigner . TargetAssigner ( similarity_calc , matcher , box_coder ) self . _anchors = anchors self . _match_threshold = match_threshold self . _num_classes = num_classes