code: def __init__(self, every_n_steps):
      self._steps = 0
      super(hook, self).__init__(every_n_steps)
  
file_path: tensornets/examples/evaluate_imagenet.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import tensorflow.compat.v1
  import tensornets
  from imagenet_preprocessing import input_fn
  from tensorflow import contrib
label_desc: Use image node_id 1 to create a new hook object from inherited base classes: tf.train with example: obj = hook(every_n_steps)