def __init__(self, every_n_steps=100, first_n_steps=1):
    'Initializes an `EveryN` monitor.\n\n    Args:\n      every_n_steps: `int`, the number of steps to allow between callbacks.\n      first_n_steps: `int`, specifying the number of initial steps during\n        which the callbacks will always be executed, regardless of the value\n        of `every_n_steps`. Note that this value is relative to the global step\n    '
    super(EveryN, self).__init__()
    self._every_n_steps = every_n_steps
    self._first_n_steps = first_n_steps
    self._last_successful_step = None
    self._last_active_step = 0
    self._every_n_step_begin_called = False
Initializes an `EveryN` monitor.

Args:
  every_n_steps: `int`, the number of steps to allow between callbacks.
  first_n_steps: `int`, specifying the number of initial steps during
    which the callbacks will always be executed, regardless of the value
    of `every_n_steps`. Note that this value is relative to the global step
def __init__(self, every_n_steps=100, first_n_steps=1):
    'Initializes an `EveryN` monitor.\n\n    Args:\n      every_n_steps: `int`, the number of steps to allow between callbacks.\n      first_n_steps: `int`, specifying the number of initial steps during\n        which the callbacks will always be executed, regardless of the value\n        of `every_n_steps`. Note that this value is relative to the global step\n    '
    super(EveryN, self).__init__()
    self._every_n_steps = every_n_steps
    self._first_n_steps = first_n_steps
    self._last_successful_step = None
    self._last_active_step = 0
    self._every_n_step_begin_called = False