1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
.. 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
|