Starts profiling.
tf.profiler.experimental.start(
logdir
)
Args |
logdir
|
A log directory read by TensorBoard to export the profile results.
|
Raises |
AlreadyExistsError
|
If another profiling session is running.
|
Example usage:
tf.profiler.experimental.start('logdir_path')
# do your training here.
tf.profiler.experimental.stop()
Launch TensorBoard and point it to the same logdir you provided to this API.
$ tensorboard --logdir=logdir_path
Open your browser and go to localhost:6006/#profile to view profiling results.