code: def on_epoch_end(self, last_metrics, **kwargs):
          "Put the various losses in the recorder."
          return add_metrics(last_metrics, [s.smooth for k,s in self.smootheners.items()]f on_epoch_end(self, last_metrics, **kwargs):
          "Put the various losses in the recorder."
          return add_metrics(last_metrics, [s.smooth for k,s in self.smootheners.items()])
docs: Put the various losses in the recorder.