评价此页

torch.autograd.profiler.profile.export_chrome_trace#

profile.export_chrome_trace(path)[source]#

将 EventList 导出为 Chrome tracing tools 文件。

该检查点之后可以在 chrome://tracing URL 下加载和检查。

参数

path (str) – 将写入跟踪的路径。