ArrayOperation
- class odl.core.array_API_support.utils.ArrayOperation(name: str, operation_call: Callable, supports_single_input: bool, supports_two_inputs: bool, supports_out_argument: bool)[source]
Bases:
objectDataclass that holds: - name, the name of the operation - operation_call, the operation callable - supports_single_input, if the operation supports a single input - supports_two_inputs, if the operation supports two inputs - supports_out_argument, if the operation supports an out argument