We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a04b56a commit d93a6cfCopy full SHA for d93a6cf
sparse/tests/test_backends.py
@@ -12,6 +12,7 @@ def test_backend_contex_manager(backend):
12
13
if backend == sparse.BackendType.Finch:
14
import finch
15
+
16
def storage():
17
return finch.Storage(finch.Dense(finch.SparseList(finch.SparseList(finch.Element(0.0)))), order="C")
18
@@ -32,6 +33,7 @@ def test_finch_backend():
32
33
34
with sparse.Backend(backend=sparse.BackendType.Finch):
35
36
37
finch_dense = finch.Tensor(np_eye)
38
39
assert np.shares_memory(finch_dense.todense(), np_eye)
0 commit comments