class_docstr: Hook to extend calls to MonitoredSession.run().
class_docstr_tok: ["Hook","to","extend","calls","to","MonitoredSession.run","(",")","."]
docstr: Called when new TensorFlow session is created.
  
  This is called to signal the hooks that a new session has been created. This
  has two essential differences with the situation in which `begin` is called:
  
  * When this is called, the graph is finalized and ops can no longer be added
      to the graph.
  * This method will also be called as a result of recovering a wrapped
      session, not only at the beginning of the overall session.
  
  Args:
    session: A TensorFlow Session that has been created.
    coord: A Coordinator object which keeps track of all threads.
docstr_tok: ["Called","when","new","TensorFlow","session","is","created",".","This","is","called","to","signal","the","hooks","that","a","new","session","has","been","created",".","This","has","two","essential","differences","with","the","situation","in","which","`","begin","`","is","called",":","*","When","this","is","called",",","the","graph","is","finalized","and","ops","can","no","longer","be","added","to","the","graph",".","*","This","method","will","also","be","called","as","a","result","of","recovering","a","wrapped","session",",","not","only","at","the","beginning","of","the","overall","session",".","Args",":","session",":","A","TensorFlow","Session","that","has","been","created",".","coord",":","A","Coordinator","object","which","keeps","track","of","all","threads","."]
code: def after_create_session(
      self, session, coord
  ):  # pylint: disable=unused-argument
      """Called when new TensorFlow session is created.
  
      This is called to signal the hooks that a new session has been created. This
      has two essential differences with the situation in which `begin` is called:
  
      * When this is called, the graph is finalized and ops can no longer be added
          to the graph.
      * This method will also be called as a result of recovering a wrapped
          session, not only at the beginning of the overall session.
  
      Args:
        session: A TensorFlow Session that has been created.
        coord: A Coordinator object which keeps track of all threads.
      """
      pass
  
file_path: tensorflow/tensorflow/python/training/session_run_hook.py
imports: import collections
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 2 for calling the SessionRunHook obj's underlying member method code with example usage: obj.after_create_session(session, coord) without return types