TensorFlow 2.0 Beta is available Learn more

tf.contrib.summary.record_summaries_every_n_global_steps

View source on GitHub

Sets the should_record_summaries Tensor to true if global_step % n == 0.

tf.contrib.summary.record_summaries_every_n_global_steps(
    n,
    global_step=None
)