File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 4
4
import aesara .tensor as at
5
5
from aesara .graph .basic import Variable , ancestors
6
6
from aesara .graph .fg import FunctionGraph
7
- from aesara .graph .opt_utils import optimize_graph
8
- from aesara .tensor .basic_opt import ShapeFeature
7
+ from aesara .graph .rewriting . utils import rewrite_graph
8
+ from aesara .tensor .rewriting . shape import ShapeFeature
9
9
from aesara .tensor .var import TensorVariable
10
10
11
11
@@ -16,7 +16,7 @@ def simplify_shapes(graphs: List[Variable]):
16
16
features = [ShapeFeature ()],
17
17
clone = False ,
18
18
)
19
- return optimize_graph (shape_fg ).outputs
19
+ return rewrite_graph (shape_fg ).outputs
20
20
21
21
22
22
class RaveledParamsMap :
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ dependencies:
11
11
- compilers
12
12
- numpy>=1.18.1
13
13
- scipy>=1.4.0
14
- - aesara>=2.7.5
15
- - aeppl>=0.0.9
14
+ - aesara>=2.8.0
15
+ - aeppl>=0.0.35
16
16
# Intel BLAS
17
17
- mkl
18
18
- mkl-service
Original file line number Diff line number Diff line change 17
17
install_requires = [
18
18
"numpy>=1.18.1" ,
19
19
"scipy>=1.4.0" ,
20
- "aesara>=2.7.5 " ,
21
- "aeppl>=0.0.9 " ,
20
+ "aesara>=2.8.0 " ,
21
+ "aeppl>=0.0.35 " ,
22
22
],
23
23
tests_require = ["pytest" ],
24
24
long_description = open ("README.md" ).read () if exists ("README.md" ) else "" ,
You can’t perform that action at this time.
0 commit comments