"Fossies" - the Fresh Open Source Software Archive

Member "pytorch-1.8.2/docs/source/torch.overrides.rst" (23 Jul 2021, 594 Bytes) of package /linux/misc/pytorch-1.8.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs" side-by-side code changes report for "torch.overrides.rst": 1.11.0_vs_1.12.0.

torch.overrides

torch.overrides

This module exposes various helper functions for the __torch_function__ protocol. See extending-torch for more detail on the __torch_function__ protocol.

Functions

get_ignored_functions

get_overridable_functions

get_testing_overrides

handle_torch_function

has_torch_function

is_tensor_like

is_tensor_method_or_property

wrap_torch_function