tf.summary.should_record_summaries

View source on GitHub

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