AdapterOperator
- class odl.AdapterOperator
Bases:
objectOperators that do not do anything mathematical, but allow bridging together operators that would otherwise be incompatible, e.g. due to array storage on different computational devices.
Unlike
Operator, adapters do not need to have a concrete domain and codomain, they only need to be able to infer one from the other. Specifically, when an adapter is composed on the left of anOperator, it will infer its concrete domain from the range of this operator, then infer its own codomain from that. The result of the composition is then an ordinary operator.Further reading: Switching between array backends
- __init__()