code: def get_step_counter_hook(**kwargs):
      """Function to get StepCounterHook."""
      del kwargs
      return tf.estimator.StepCounterHook()
  
file_path: autodist/examples/benchmark/utils/logs/hooks_helper.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from utils.logs import hooks
  from utils.logs import logger
  from utils.logs import metric_hook
label_desc: Use image node_id 6 for calling a global function with example usage: get_step_counter_hook() and returns: tf