Skip to content

Commit 3a4619e

Browse files
Reorganize the sparse module
1 parent 792bd04 commit 3a4619e

File tree

14 files changed

+4444
-4840
lines changed

14 files changed

+4444
-4840
lines changed

pytensor/link/jax/dispatch/sparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from pytensor.graph.basic import Constant
55
from pytensor.link.jax.dispatch import jax_funcify, jax_typify
6-
from pytensor.sparse.basic import Dot, StructuredDot
6+
from pytensor.sparse.math import Dot, StructuredDot
77
from pytensor.sparse.type import SparseTensorType
88

99

pytensor/sparse/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from pytensor.sparse import rewriting, sharedvar
22
from pytensor.sparse.basic import *
3+
from pytensor.sparse.math import *
34
from pytensor.sparse.sharedvar import sparse_constructor as shared
45
from pytensor.sparse.type import SparseTensorType, _is_sparse
56

0 commit comments

Comments
 (0)