xlnstorch.get_default_implementation_key#
- xlnstorch.get_default_implementation_key(torch_function)#
Get the default implementation key for a given torch function.
- Parameters:
torch_function (Callable) – The torch function for which to get the default implementation.
- Returns:
The key identifying the default implementation.
- Return type:
- Raises:
ValueError – If no implementations are registered for the given torch function. If no default implementation is set for the torch function.