tf.contrib.summary.initialize( graph=None, session=None )
Initializes summary writing for graph execution mode.
Most users will also want to call
which can happen before or after this function is called.
tf.GraphDefto output to the writer. This function will not write the default graph by default. When writing to an event log file, the associated step will be zero.
session: So this method can call
tf.Session.run. This defaults to
RuntimeError: If the current thread has no default
ValueError: If session wasn't passed and no default session.