code: def __init__(self, examples_per_epoch, global_batch_size):
      self._num_examples_per_epoch = examples_per_epoch
      self._global_batch_size = global_batch_size
      self._epoch = 0
  
imports: import delta.compat
  from bisect import bisect_right
  from absl import logging
label_desc: Use image node_id 1 to create a new EpochHook object from inherited base classes: tf.estimator with example: obj = EpochHook(examples_per_epoch, global_batch_size)