Files
pytorch/docs/source/benchmark_utils.md
T
Angel Li 3f7fb6419f document public APIs using a Claude Skill (#175578)
claude skill to remove undocumented public APIs by removing entries from the `coverage_ignore_functions` and `coverage_ignore_classes` lists in `docs/source/conf.py` and adding the appropriate sphinx autodoc directives.

i wrote an 8-step workflow to select module groups to remove, present to user for confirmation, comment out entries, run `make coverage`, add directives to doc files, verify coverage reaches 100%, report progress to user, and finally clean up `conf.py`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/175578
Approved by: https://github.com/albanD
2026-02-24 20:58:43 +00:00

1.1 KiB

.. role:: hidden
    :class: hidden-section

Benchmark Utils - torch.utils.benchmark

.. automodule:: torch.utils.benchmark
.. currentmodule:: torch.utils.benchmark
.. autoclass:: Timer
    :members:
.. autoclass:: Measurement
    :members:
.. autoclass:: CallgrindStats
    :members:
.. autoclass:: FunctionCounts
    :members:
.. autoclass:: Compare
    :members:

torch.utils.benchmark.examples

.. py:module:: torch.utils.benchmark.examples

torch.utils.benchmark.examples.spectral_ops_fuzz_test

.. automodule:: torch.utils.benchmark.examples.spectral_ops_fuzz_test
.. currentmodule:: torch.utils.benchmark.examples.spectral_ops_fuzz_test
.. autosummary::
    :toctree: generated
    :nosignatures:

    run_benchmark
.. py:module:: torch.utils.benchmark.op_fuzzers
.. py:module:: torch.utils.benchmark.utils
.. py:module:: torch.utils.benchmark.utils.valgrind_wrapper