# tf.compat.v2.summary.create_noop_writer

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/summary_ops_v2.py#L493-L499) |

Returns a summary writer that does nothing.

    tf.compat.v2.summary.create_noop_writer()

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