Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings


View source on GitHub

Sets the default summary step for the current thread.


  • tf.compat.v2.summary.experimental.set_step

For convenience, this function sets a default value for the step parameter used in summary-writing functions elsewhere in the API so that it need not be explicitly passed in every such invocation. The value can be a constant or a variable, and can be retrieved via tf.summary.experimental.get_step().


  • step: An int64-castable default step value, or None to unset.