paddlenlp/metrics/chunk.py
def reset(self):
        """
        Reset function empties the evaluation memory for previous mini-batches.
        """
        self.num_infer_chunks = 0
        self.num_label_chunks = 0
        self.num_correct_chunks = 0

        Reset function empties the evaluation memory for previous mini-batches.
        
Reset function empties the evaluation memory for previous mini-batches.
Reset function empties the evaluation memory for previous mini - batches .
def reset(self):
        self.num_infer_chunks = 0
        self.num_label_chunks = 0
        self.num_correct_chunks = 0
def reset ( self ) : self . num_infer_chunks = 0 self . num_label_chunks = 0 self . num_correct_chunks = 0
Reset function empties the evaluation memory for previous mini-batches.
Reset function empties the evaluation memory for previous mini - batches .
"""
        Reset function empties the evaluation memory for previous mini-batches.
        """
self