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
3d33c4fed3
support call inner net attr
5 years ago
buxue
e8cd572bc2
add check for outermost net inputs type and support isinstance first arg an empty list
5 years ago
buxue
3df40b73a5
clear parse or resolve debug info
5 years ago
buxue
69d9a33ddb
show line of code when parse or resolve phase exception
5 years ago
chenfei
874f350eb9
add dump level
5 years ago
buxue
6d395c1d3f
keep consistent in Graph mode and PyNative mode for 'isinstance'
5 years ago
zjun
5ce00d4de2
Fix bprop describe
Signed-off-by: zjun <zhangjun0@huawei.com>
5 years ago
lvliang
1490947ff0
adjust-the-location-of-cleaning-unuseless-memory-in-value-node
5 years ago
zjun
c0f02dfaf8
Opitimize pynative bprop
Signed-off-by: zjun <zhangjun0@huawei.com>
5 years ago
zjun
3e1358fe94
Fix bprop second derivative
Signed-off-by: zjun <zhangjun0@huawei.com>
5 years ago
mindspore-ci-bot
bc4f452aeb
!9313 fix bug for upgrading python3.8 of parsing
From: @simson_wu
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
5 years ago
huanghui
141cd4b3c2
fix some locations miss line
5 years ago
simson
9ab81181aa
fix bug for upgrading python3.8 of parsing
5 years ago
huanghui
bda74495f3
Add trace mangager around front opt
5 years ago
lvliang
7268bdad15
fix-bug-of-misjudge-dynamic-graph-structure-in-pynative
5 years ago
lichenever
2e1c43483e
add auto parallel pipeline
5 years ago
mindspore-ci-bot
9c957072e2
!8097 Remove redundant phi nodes
From: @ginfung
Reviewed-by:
Signed-off-by:
5 years ago
yujianfeng
3176d377e6
Remove redundant phi nodes
5 years ago
zjun
7e67c247b8
Add cell dynamic check
Signed-off-by: zjun <zhangjun0@huawei.com>
5 years ago
mindspore-ci-bot
f16509388c
!8409 Multi-dimensional list value assignment
From: @liangzhibo
Reviewed-by: @chenfei52
Signed-off-by:
5 years ago
l00591931
c5b5a6719c
Enable multi-dimensional list value assignment
5 years ago
Yi Huaijie
d7faa77b5e
support int64 shape
5 years ago
yepei6
c33e7c6092
complete the selfOp func for matrix slice parse like mat[1,:] += 1
5 years ago
buxue
559c741cce
improve the way passing ags of partial
5 years ago
Zhang Qinghua
6c72d88ba1
Set top graph parameters' name as original graph parameters.
5 years ago
buxue
483c8a179a
improve the recognition of Parameter object and raise error when convert keywordarg to pydata
5 years ago
mindspore-ci-bot
daff211538
!6357 add grad acc test case
Merge pull request !6357 from jinyaohui/master
5 years ago
jinyaohui
188c3e5394
add grad acc test case
5 years ago
BowenK
607ea81c7b
fix static check
5 years ago
mindspore-ci-bot
b40677002f
!5714 [refine]change top graph and add cell class
Merge pull request !5714 from vlne-v1/change-top-graph
5 years ago
Wei Luning
e6f82af849
add cell class to c++
5 years ago
fary86
d2d8a911ff
Fix bug of convert python object
5 years ago
Wei Luning
1a2eb5c8f7
fix time cost
5 years ago
mindspore-ci-bot
95212b55a0
!3271 make reftype a subtype of MetaTensor and try to mark ref in node input
Merge pull request !3271 from vlne-v1/ref_demo
5 years ago
Wei Luning
24a10225cf
change base class of ref to tensor in cpp
5 years ago
fary86
8d245497a4
Fix large for loop Runtime Error due to backend missing operators
5 years ago
fary86
947e19b839
Fix bug of switch layer join
5 years ago
huangdongrun
1bd9fefd84
support if by if not inline
add testcase of net of if by if
5 years ago
zhoufeng
22ec976ef7
fix compilation warnings
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
huangdongrun
f30418991c
refactor bool op parsing to be consistent with pynative mode
add testcase of st
5 years ago
mindspore-ci-bot
70a218123b
!4722 modiy error type
Merge pull request !4722 from lijiaqi/modify_error_type
5 years ago
李嘉琪
c65ea1687b
modify error type
5 years ago
mindspore-ci-bot
4f46c4277a
!4614 Code compile performance optimization
Merge pull request !4614 from zhoufeng/code-compile-performance
5 years ago
mindspore-ci-bot
cc077de9e3
!4425 fix if statement with no return coredump
Merge pull request !4425 from fary86/fix_if_no_return_coredump
5 years ago
zhoufeng
663278112f
optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
fary86
38083e055a
Fix coredump missing return statement after while loop
5 years ago
Wei Luning
c1c30a44f1
rename param_value -> param_info
5 years ago
buxue
02d6e3a43a
fix bugs
5 years ago
Wei Luning
ea3ddea3d4
remove ref origin
5 years ago