Announcing the TensorFlow Dev Summit 2020 Learn more

tf.contrib.summary.should_record_summaries

View source on GitHub

Returns boolean Tensor which is true if summaries should be recorded.

tf.contrib.summary.should_record_summaries()