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
torch.overrides.get_ignored_functions()
Return public functions that cannot be overridden by
   "torch_function".
Returns:
      A tuple of functions that are publicly available in the torch
      API but cannot be overridden with "torch_function". Mostly
      this is because none of the arguments of these functions are
      tensors or tensor-likes.
Return type:
      Set[Callable]
-[ Examples ]-



torch.Tensor.as_subclass in torch.overrides.get_ignored_functions()
   True
torch.add in torch.overrides.get_ignored_functions()
   False



torch.overrides.get_overridable_functions()
List functions that are overridable via torch_function
Returns:
      A dictionary that maps namespaces that contain overridable