xref: /aosp_15_r20/external/pytorch/docs/source/benchmark_utils.rst (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1.. role:: hidden
2    :class: hidden-section
3
4Benchmark Utils - torch.utils.benchmark
5==================================================
6
7.. automodule:: torch.utils.benchmark
8.. currentmodule:: torch.utils.benchmark
9
10.. autoclass:: Timer
11    :members:
12
13.. autoclass:: Measurement
14    :members:
15
16.. autoclass:: CallgrindStats
17    :members:
18
19.. autoclass:: FunctionCounts
20    :members:
21
22.. autoclass:: Compare
23    :members:
24
25.. These are missing documentation. Adding them here until a better place
26.. is made in this file.
27.. py:module:: torch.utils.benchmark.examples
28.. py:module:: torch.utils.benchmark.op_fuzzers
29.. py:module:: torch.utils.benchmark.utils
30.. py:module:: torch.utils.benchmark.utils.valgrind_wrapper
31