'Summarize the number of positives and negatives after mining.'

def summarize(self):

    if (self._num_positives_list and self._num_negatives_list):
        avg_num_positives = tf.reduce_mean(tf.to_float(self._num_positives_list))
        avg_num_negatives = tf.reduce_mean(tf.to_float(self._num_negatives_list))
        tf.summary.scalar('HardExampleMiner/NumPositives', avg_num_positives)
        tf.summary.scalar('HardExampleMiner/NumNegatives', avg_num_negatives)
