class_docstr: Logger class.
code: def record_losses_epoch(self, prefix, step):
      for loss_name, val in self.losses.items():
          name = f"{prefix}epoch_{loss_name}"
          self.record_scalar(name, sum(val) / len(val), step)
  
file_path: graphics/tensorflow_graphics/projects/points_to_3Dobjects/utils/logger.py
imports: import collections
  import os
  import tensorflow
label_desc: Use image node_id 5 for calling the Logger obj's underlying member method code with example usage: obj.record_losses_epoch(prefix, step) without return types