Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 594 Bytes

torch.overrides.rst

File metadata and controls

27 lines (16 loc) · 594 Bytes
.. 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::  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