code: def metrics_logs(self):
      logs = dict(zip(self.batch_metrics_names, self.batch_metrics))
      logs.update(
          dict(zip(self.epoch_metrics_names, self.epoch_metrics))
      )
  
      logs = {f"{self.prefix}loss": self.loss, **logs}
      return logs
  
file_path: poutyne/poutyne/framework/iterators.py
imports: import itertools
  import timeit
label_desc: Use image node_id 2 for calling the StepIterator obj's underlying member method code with example usage: obj.metrics_logs() and returns: logs