def post_step(self, step, session):
    super(EveryN, self).post_step(step, session)
    if self._every_n_step_begin_called:
        self.every_n_post_step(step, session)
        self._last_active_step = step
    self._last_successful_step = step
def post_step(self, step, session):
    super(EveryN, self).post_step(step, session)
    if self._every_n_step_begin_called:
        self.every_n_post_step(step, session)
        self._last_active_step = step
    self._last_successful_step = step