Save the date! Google I/O returns May 18-20 Register now

tf.summary.create_noop_writer

Returns a summary writer that does nothing.

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