torch.autograd.profiler.profile.export_chrome_trace¶ profile.export_chrome_trace(path)[原始碼][原始碼]¶ 將 EventList 匯出為 Chrome 追蹤工具檔案。 檢查點稍後可以載入,並在 chrome://tracing URL 下檢查。 參數 path ( str ) – 追蹤將寫入的路徑。