tf.summary.experimental.set_step  |  TensorFlow v2.16.1 (original) (raw)

tf.summary.experimental.set_step

Stay organized with collections Save and categorize content based on your preferences.

Sets the default summary step for the current thread.

tf.summary.experimental.set_step(
    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().

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.