|View source on GitHub|
Context manager that generates a trace event in the profiler.
tf.profiler.experimental.Trace( name, **kwargs )
A trace event will start when entering the context, and stop and save the result to the profiler when exiting the context. Open TensorBoard Profile tab and choose trace viewer to view the trace event in the timeline.