torch.autograd.profiler.profile.export_chrome_trace¶ profile.export_chrome_trace(path)[source][source]¶ 将 EventList 导出为 Chrome 跟踪工具文件。 导出的文件稍后可以在 chrome://tracing URL 下加载和查看。 参数 path (str) – 跟踪文件写入的路径。