Returns a summary writer that does nothing.
Compat aliases for migration
See Migration guide for more details.
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.