parameters: (self, session=None)
docstring: Callback at the end of training/evaluation.
  
      Args:
        session: A `tf.Session` object that can be used to run ops.
  
      Raises:
        ValueError: if we've not begun a run.
docstring_summary: Callback at the end of training/evaluation.
docstring_tokens: Callback at the end of training / evaluation .
function: def end(self, session=None):
      """Callback at the end of training/evaluation.
  
      Args:
        session: A `tf.Session` object that can be used to run ops.
  
      Raises:
        ValueError: if we've not begun a run.
      """
      _ = session
      if not self._begun:
        raise ValueError("end called without begin.")
      self._max_steps = None
      self._begun = False
function_tokens: def end ( self , session = None ) : _ = session if not self . _begun : raise ValueError ( "end called without begin." ) self . _max_steps = None self . _begun = False