tf.profiler.experimental.stop

View source on GitHub

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.