class_docstr: Run hook used by the evaluation routines to run the `eval_ops` N times.
class_docstr_tok: ["Run","hook","used","by","the","evaluation","routines","to","run","the","`","eval_ops","`","N","times","."]
code: def before_run(self, run_context):
      return session_run_hook.SessionRunArgs(
          {"evals_completed": self._evals_completed}
      )
  
imports: import math
  import time
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import init_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.training import basic_session_run_hooks
  from tensorflow.python.training import monitored_session
  from tensorflow.python.training import session_run_hook
label_desc: Use image node_id 3 for calling the _StopAfterNEvalsHook obj's underlying member method code with example usage: obj.before_run(run_context) and returns: session_run_hook