mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
This reverts commit c35bd8d423.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77719
Approved by: https://github.com/Chillee, https://github.com/malfet
30 lines
627 B
ReStructuredText
30 lines
627 B
ReStructuredText
.. currentmodule:: torch.overrides
|
|
|
|
torch.overrides
|
|
---------------
|
|
|
|
This module exposes various helper functions for the ``__torch_function__``
|
|
protocol. See :ref:`extending-torch` for more detail on the
|
|
``__torch_function__`` protocol.
|
|
|
|
Functions
|
|
~~~~~~~~~
|
|
|
|
.. autofunction:: get_ignored_functions
|
|
|
|
.. autofunction:: get_overridable_functions
|
|
|
|
.. autofunction:: resolve_name
|
|
|
|
.. autofunction:: get_testing_overrides
|
|
|
|
.. autofunction:: handle_torch_function
|
|
|
|
.. autofunction:: has_torch_function
|
|
|
|
.. autofunction:: is_tensor_like
|
|
|
|
.. autofunction:: is_tensor_method_or_property
|
|
|
|
.. autofunction:: wrap_torch_function
|