Missed TensorFlow World? Check out the recap. Learn more

tf.summary.create_noop_writer

View source on GitHub

Returns a summary writer that does nothing.

Aliases:

  • tf.compat.v2.summary.create_noop_writer
tf.summary.create_noop_writer()

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