code: def print_step_info(prefix, global_step, info, result_summary, log_f):
      """Print all info at the current global step."""
      utils.print_out(
          "%sstep %d lr %g step-time %.2fs wps %.2fK ppl %.2f gN %.2f %s, %s"
          % (
              prefix,
              global_step,
              info["learning_rate"],
              info["avg_step_time"],
              info["speed"],
              info["train_ppl"],
              info["avg_grad_norm"],
              result_summary,
              time.ctime(),
          ),
          log_f,
      )
  
imports: from __future__ import print_function
  import math
  import os
  import random
  import time
  import tensorflow
  from .None import inference, gnmt_model
  from .gnmt import attention_model, model
  from .gnmt import model_helper
  from .gnmt.utils import nmt_utils, misc_utils
label_desc: Use image node_id 9 for calling a global function with example usage: print_step_info(prefix, global_step, info, result_summary, log_f) without return types