def before_run(self, run_context):
    if ((self._iter_count % self._every_n_iter) == 0):
        return SessionRunArgs(self._current_tensors)
    else:
        return None
def before_run(self, run_context):
    if ((self._iter_count % self._every_n_iter) == 0):
        return SessionRunArgs(self._current_tensors)
    else:
        return None