(self, run_context)
return tf.train.SessionRunArgs({"global_step": self._global_step_tensor})
Overrides `SessionRunHook.before_run`.

    Args:
      run_context: A `SessionRunContext` object.

    Returns:
      None or a `SessionRunArgs` object.
Overrides `SessionRunHook.before_run`.
Overrides SessionRunHook . before_run .
def before_run(self, run_context):  # pylint: disable=unused-argument
    """Overrides `SessionRunHook.before_run`.

    Args:
      run_context: A `SessionRunContext` object.

    Returns:
      None or a `SessionRunArgs` object.
    """
    return tf.train.SessionRunArgs({"global_step": self._global_step_tensor})
def before_run ( self , run_context ) : # pylint: disable=unused-argument return tf . train . SessionRunArgs ( { "global_step" : self . _global_step_tensor } )