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 44import aesara .tensor as at
55from aesara .graph .basic import Variable , ancestors
66from 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
99from aesara .tensor .var import TensorVariable
1010
1111
@@ -16,7 +16,7 @@ def simplify_shapes(graphs: List[Variable]):
1616 features = [ShapeFeature ()],
1717 clone = False ,
1818 )
19- return optimize_graph (shape_fg ).outputs
19+ return rewrite_graph (shape_fg ).outputs
2020
2121
2222class RaveledParamsMap :
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ dependencies:
1111 - compilers
1212 - numpy>=1.18.1
1313 - scipy>=1.4.0
14- - aesara>=2.7.5
15- - aeppl>=0.0.9
14+ - aesara>=2.8.0
15+ - aeppl>=0.0.35
1616 # Intel BLAS
1717 - mkl
1818 - mkl-service
Original file line number Diff line number Diff line change 1717 install_requires = [
1818 "numpy>=1.18.1" ,
1919 "scipy>=1.4.0" ,
20- "aesara>=2.7.5 " ,
21- "aeppl>=0.0.9 " ,
20+ "aesara>=2.8.0 " ,
21+ "aeppl>=0.0.35 " ,
2222 ],
2323 tests_require = ["pytest" ],
2424 long_description = open ("README.md" ).read () if exists ("README.md" ) else "" ,
You can’t perform that action at this time.
0 commit comments