Shortcuts

torch.autograd.profiler.profile.export_chrome_trace

profile.export_chrome_trace(path)[源代码]

将 EventList 导出为 Chrome 跟踪工具文件。

检查点可以在稍后加载并在 chrome://tracing URL 下进行检查。

Parameters

路径 (字符串) – 将写入跟踪的路径。