import tensorflow as tf

        matched_iou, self._config_dict['foreground_iou_threshold'])
    negative_matches = tf.logical_and(
        tf.greater_equal(
            matched_iou, self._config_dict['background_iou_low_threshold']),
        tf.less(
            matched_iou, self._config_dict['background_iou_high_threshold']))
    ignored_matches = tf.logical_and(
        tf.less(matched_iou, 0.0),
        tf.greater_equal(
            matched_iou, self._config_dict['background_iou_high_threshold']))
    ignored_matches = tf.logical_and(
        ignored_matches,
        tf.less(
            matched_iou, self._config_dict['foreground_iou_threshold']))
