Margaret_wangrui
8ef76ab3d0
1、add auto_monad testcase
2、Support trace tuple side-effect from a Switch
5 years ago
Zhang Qinghua
cd7f7d40fb
Support pass args or|and kwargs for OP CreateInstance.
5 years ago
He Wei
121a6a28d9
[auto-monad] Enforce order of exection for Loads user nodes in frontend
5 years ago
Margaret_wangrui
b39b3d7dd5
fix bot warnings
5 years ago
mindspore-ci-bot
dad61aab28
!15613 fix pclint warnings
From: @Margaret_wangrui
Reviewed-by: @zhoufeng54,@jjfeing
Signed-off-by: @jjfeing
5 years ago
Margaret_wangrui
1353b7451d
fix pclint warnings
5 years ago
lianliguang
5849706968
clean pclint warning
5 years ago
lianliguang
d2c696667b
change process of infer value
5 years ago
lianliguang
4d7b7649e9
remove the useless PrimType
5 years ago
mindspore-ci-bot
8fc47be15f
!14935 [ME]Bot clean of master
From: @chenfei52
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
chenfei_mindspore
9012df94f2
reduce circle complex of code
5 years ago
mindspore-ci-bot
4011fd7411
!15052 fix review boot
From: @zhangbuxue
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
5 years ago
buxue
65479e72f7
fix review boot
5 years ago
LianLiguang
bdc21bcf3e
change infer value
5 years ago
mindspore-ci-bot
d8dedc91b9
!14858 Rectify the overlength of function line
From: @ginfung
Reviewed-by: @zh_qh,@hwhewei
Signed-off-by: @zh_qh
5 years ago
mindspore-ci-bot
39410310da
!14875 [ME]Fix codedex
From: @Margaret_wangrui
Reviewed-by: @ginfung,@ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
Margaret_wangrui
bca7a1755d
fix codedex
5 years ago
yujianfeng
f580031bdd
rectify the overlength of function line
5 years ago
Margaret_wangrui
86b52c4107
insert u monad parameter before io monad parameter in auto_monad
5 years ago
He Wei
0769193185
Fix a bug by revert GetCNodeTarget() for Load
5 years ago
mindspore-ci-bot
cf5eaf8590
!13050 Don't insert UpdateState for HyperMap func graph call, move auto monad eliminator out from CSE, and eliminate auto monad nodes for output node.
From: @zh_qh
Reviewed-by:
Signed-off-by:
5 years ago
Zhang Qinghua
e853df4ecd
Don't insert UpdateState for HyperMap func graph call.
Move auto monad eliminator out from CSE.
Eliminate auto monad nodes for output node.
5 years ago
He Wei
ce690a5489
[auto-monad] Fix primitive_target and IsFeatureMapOutput check for Load
5 years ago
mindspore-ci-bot
a9d21d8615
!13312 [ME]Fix bug of core dump
From: @chenfei52
Reviewed-by: @hwhewei,@ginfung
Signed-off-by: @ginfung
5 years ago
chenfei
05d23b76d1
fix core dump bug
5 years ago
mindspore-ci-bot
ba0a2d97a1
!13244 Output func graph's raw pointer address.
From: @zh_qh
Reviewed-by:
Signed-off-by:
5 years ago
Zhang Qinghua
1e64b92470
Output func graph's raw pointer address.
5 years ago
Zhang Qinghua
8c139ec821
Replace inputs in order list also when replicated CNode's inputs.
5 years ago
l00591931
bbdb050fc7
Change switch to Switch
5 years ago
mindspore-ci-bot
83edc65441
!12332 Call CheckNoStackInSameFuncGraph() to check abnormal infer status.
From: @zh_qh
Reviewed-by: @hwhewei
Signed-off-by:
5 years ago
Zhang Qinghua
6077a663f4
Call CheckNoStackInSameFuncGraph() to check abnormal infer status.
5 years ago
mindspore-ci-bot
04e23927ef
!12688 using cpp infer firstly
From: @lianliguang
Reviewed-by:
Signed-off-by:
5 years ago
LianLiguang
4acab81599
using cpp infer firstly
5 years ago
Zhang Qinghua
2e48501d54
Add more isolated nodes in Parser, and clear dependency nodes that have no side effect.
5 years ago
l00591931
680324f225
Change make tuple in core.ops
5 years ago
Zhang Qinghua
8b8c59f01e
Optimize the compile performance in Parser, FG, Manager and Renormalize:
---
Remove the routine of handling isolated nodes in Renormalize.
Add isolated nodes from Parser&Resolver.
Modify isolated nodes handling in FG&Manager.
Optimize the renormalize routines.
Other optimizations.
5 years ago
huangbingjian
4cb74919ab
[auto-monad] modify the processing method of isolated nodes
5 years ago
He Wei
f23b92af4c
[auto-monad] Optimize order list
Use OrderedSet for order list to optimize performance.
5 years ago
He Wei
7d9a783993
[auto-monad] Support side-effects by auto-monad
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)
```
5 years ago
buxue
81d26eaa34
unify parameter output type
5 years ago
buxue
6ccc4379b4
do not broaden scalar
5 years ago
buxue
6d395c1d3f
keep consistent in Graph mode and PyNative mode for 'isinstance'
5 years ago
mxm
82268dc703
support DynamicShape and StridedSlice primitive return range of shape value.
5 years ago
mxm
59f9ac9975
Primitive 'AddN' support dynamic shape
5 years ago
huanghui
bda74495f3
Add trace mangager around front opt
5 years ago
mindspore-ci-bot
57899791d3
!9063 Throw exception if using call stack for CNodes in the same func graph.
From: @zh_qh
Reviewed-by: @stsuteng,@chenfei52
Signed-off-by: @stsuteng
5 years ago
Zhang Qinghua
b43d71c130
Throw exception if using call stack for CNodes in the same func graph.
5 years ago
mindspore-ci-bot
617c175a98
!8854 Fix some redundant codes
From: @chenfei52
Reviewed-by:
Signed-off-by:
5 years ago
chenfei
f154abdff8
change some redundant code
normalize codes of session
5 years ago
Zhang Qinghua
85f8290dce
Optimize TopoSort() and Infer() performance.
5 years ago