The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.
The ControlDepend primitive is removed and there are two primitives added:
1. UpdateState:
```
a = Assign(para, value)
```
became:
```
a = Assign(para, value, u)
u = UpdateState(u, a)
```
2. Load:
```
x = Add(para, value)
```
became:
```
p = Load(para, u)
x = Add(p, value)
u = UpdateState(u, p)
```
Add a pass `tensor_promotion`.
Fix a bug in CreateKernelInfoFromNewParameter, which reset the KernelInfo by mistake.
what's more:
Update akg
Fixbug in model_builder when reduce axis is an interger.
merge me commit for remove inline
deal witch multiple cases of switch in ConstructKernelGraph
deal with switch and call cases in ConstructKernelGraph
fix bug and rebase master
ConstructKernelGraph adapte to remove inline
fix InsertMultipleAssignToGraph bug
add graph input to new graph which is created for switch input
replace CreateNewParameterFromCNode to NewParameter in order to set new
parameter's abstract and kernel_info
avoids create a new switch repeatedly when the cnode is a call switch without real input
null pointer check
update frontend code
Revert "update frontend code"
This reverts commit ce1f600d1e.
update frontend code PR_2948
fix bug of CheckLabalIndex
handle switch_layer in ConstructKernelGraph
add attr for assign node to avoid erasing by cse pass
cherry-pick ms commit[59b35f690d]:temporary avoid list getitem problem
rebase master
Revert "cherry-pick ms commit[59b35f690d]:temporary avoid list getitem problem"
This reverts commit 74c258f942.
Revert "handle switch_layer in ConstructKernelGraph"
This reverts commit cb5367f02d.
Revert "update frontend code PR_2948"
This reverts commit 234ac58340.
Revert "merge me commit for remove inline"
This reverts commit 55c0ebd42b.
fix diff after rebase master
doing remove inline in me
overwrite FindNodePrimitive
Revert "doing remove inline in me"
This reverts commit b42e893125.