FormattedTimesMixin
-
class torch.autograd.profiler_util.FormattedTimesMixin[исходный код] -
Вспомогательные методы для FunctionEvent и FunctionEventAvg.
В подклассе должны быть определены атрибуты
*_time_totalиcount.
© 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_util.FormattedTimesMixin.html