utils

Utilities for the compatibility of ODL with the python array API

Classes

ArrayOperation(name, operation_call, ...)

Dataclass 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

Functions

is_array_supported(x)

Boolean indicator to know whether or nor is an object x an array of one of the supported backends.