clpy
clpy copied to clipboard
Pass clpy_tests/linalg_tests
We should support, remove, or fix clpy_tests/linalg_tests https://github.com/fixstars/clpy/blob/clpy/tests/clpy_tests/linalg_tests
test_decomposition.py, test_eigenvalue.py, test_norms.py, test_solve.py:
- CUSolver
test_product.py:
- needs
dgemm
via-
clpy.inner
-
clpy.kron
-
clpy.outer
-
test_product.py
was confirmed to work well by enabling them after dgemm
implemented:
index 0594199..6c15e79 100644
--- a/clpy/__init__.py
+++ b/clpy/__init__.py
@@ -344,10 +344,10 @@ def base_repr(number, base=2, padding=0): # NOQA (needed to avoid redefinition
# from clpy.linalg.einsum import einsum # NOQA
from clpy.linalg.product import dot # NOQA
-# from clpy.linalg.product import inner # NOQA
-# from clpy.linalg.product import kron # NOQA
-# from clpy.linalg.product import matmul # NOQA
-# from clpy.linalg.product import outer # NOQA
+from clpy.linalg.product import inner # NOQA
+from clpy.linalg.product import kron # NOQA
+from clpy.linalg.product import matmul # NOQA
+from clpy.linalg.product import outer # NOQA
from clpy.linalg.product import tensordot # NOQA
from clpy.linalg.product import vdot # NOQA
Still needs substitution for...
test_decomposition.py, test_eigenvalue.py, test_norms.py, test_solve.py:
- cuSOLVER
test_einsum.py
AttributeError: module 'clpy' has no attribute 'einsum'