Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.summary.create_noop_writer

View source on GitHub

Returns a summary writer that does nothing.

This is useful as a placeholder in code that expects a context manager.