code: def on_epoch_end(self, last_metrics, **kwargs):
          "Finish the computation and sends the result to the Recorder."
          if not self.nums: return
          metrics = [self.metrics[name]/self.nums for name in self.names]
          return {'last_metrics': last_metrics+metricsf on_epoch_end(self, last_metrics, **kwargs):
          "Finish the computation and sends the result to the Recorder."
          if not self.nums: return
          metrics = [self.metrics[name]/self.nums for name in self.names]
          return {'last_metrics': last_metrics+metrics}
docs: Finish the computation and sends the result to the Recorder.