code: def export_metrics(step, metrics, loss_info=None):
      """Exports the metrics and loss information to logging.info.
  
      Args:
        step: Integer denoting the round at which we log the metrics.
        metrics: List of `TF metrics` to log.
        loss_info: An optional instance of `LossInfo` whose value is logged.
      """
  
      def logging_at_step_fn(name, value):
          logging_msg = f"[step={step}] {name} = {value}."
          logging.info(logging_msg)
  
      for metric in metrics:
          logging_at_step_fn(metric.name, metric.result())
      if loss_info is not None:
          logging_at_step_fn("loss", loss_info.loss)
  
label_desc: Use image node_id 1 for calling a global function with example usage: export_metrics(step, metrics, loss_info) without return types