pyxu.info.deps#
- class NDArrayInfo(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
Supported dense array backends.
- NUMPY = 1#
- DASK = 2#
- CUPY = 3#
- classmethod from_flag(gpu)[source]#
Find array backend suitable for in-memory CPU/GPU computing.
- Parameters:
gpu (bool)
- Return type:
- module(linalg=False)[source]#
Python module associated to an array backend.
- Parameters:
linalg (
bool
) – Return the linear-algebra submodule with identical API tonumpy.linalg
.- Return type:
- class SparseArrayInfo(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
Supported sparse array backends.
- SCIPY_SPARSE = 1#
- CUPY_SPARSE = 2#
- module(linalg=False)[source]#
Python module associated to an array backend.
- Parameters:
linalg (
bool
) – Return the linear-algebra submodule with identical API toscipy.sparse.linalg
.- Return type:
- supported_array_types()[source]#
List of all supported dense array types in current Pyxu install.
- Return type:
- supported_array_modules()[source]#
List of all supported dense array modules in current Pyxu install.
- Return type:
- supported_sparse_types()[source]#
List of all supported sparse array types in current Pyxu install.
- Return type: