torch.autograd.profiler.profile.export_chrome_trace
-
profile.export_chrome_trace(path, metadata=None, use_python_export=False)[исходный код] -
Экспортирует EventList в файл для инструментов трассировки Chrome.
Позже контрольную точку можно загрузить и просмотреть по URL
chrome://tracing.- Параметры:
-
path (str) – Путь, по которому будет сохранена трассировка.
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.autograd.profiler.profile.export_chrome_trace.html