tf.profiler.experimental.stop
Stops the current profiling session.
tf.profiler.experimental.stop(
save=True
)
The profiler session will be stopped and profile results can be saved.
| Args | |
|---|---|
save | An optional variable to save the results to TensorBoard. Default True. |
| Raises | |
|---|---|
UnavailableError | If there is no active profiling session. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/profiler/experimental/stop