mrinufft._array_compat
#
Array libraries compatibility utils.
Functions
Cast an array or a tensor to the desired dtype. |
|
Get the module of the array. |
|
Check if var implement the CUDA Array interface. |
|
Check if var is a CUDA tensor. |
|
Check if var is a host contiguous np array. |
|
Create a copy of the array in pinned memory. |
|
Ensure the function works internally with numpy array. |
|
Ensure the function works internally with numpy or cupy array. |
|
Ensure the function works internally with tensorflow array. |
|
Ensure the function works internally with Torch. |