paddlenlp/metrics/rouge.py
def accumulate(self):
        '''
        Calculate the final rouge-l metric.
        '''
        return 1. * sum(self.inst_scores) / len(self.inst_scores)

        Calculate the final rouge-l metric.
        
Calculate the final rouge-l metric.
Calculate the final rouge - l metric .
def accumulate(self):
        return 1. * sum(self.inst_scores) / len(self.inst_scores)
def accumulate ( self ) : return 1. * sum ( self . inst_scores ) / len ( self . inst_scores )
Calculate the final rouge-l metric.
Calculate the final rouge - l metric .
'''
        Calculate the final rouge-l metric.
        '''
self