Rate this Page

torch.autograd.profiler.profile.export_chrome_trace#

profile.export_chrome_trace(path)[source]#

Export an EventList as a Chrome tracing tools file.

The checkpoint can be later loaded and inspected under chrome://tracing URL.

Parameters

path (str) – Path where the trace will be written.