You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do we want to create something similar to the interpreter in fx as a simplified visitor for general use?
We can discuss offline if you have an idea.
For this issue, do you think IRContext is something that we can merge into IR after having symbolic_value? Looks like visitor.py also needs a huge refactor..
Optimizer relies on graph analysis to fold constant.
onnxscript/onnxscript/optimizer/evaluator.py
Line 52 in 2824bc8
We should either extend the current IR to analyze graph, or develop/keep IRContext, but detach it with StaticValueInfo in _legacy_ir folder.
Lack of:
StaticValueInfo.symbolic_value
onnxscript/onnxscript/_legacy_ir/__init__.py
Lines 61 to 66 in 2824bc8
The usages:
onnxscript/onnxscript/optimizer/constant_folding.py
Lines 152 to 171 in 2824bc8
cc @gramalingam @justinchuby
The text was updated successfully, but these errors were encountered: