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
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
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
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
jinyaohui
188c3e5394
add grad acc test case
5 years ago
Wei Luning
e6f82af849
add cell class to c++
5 years ago
Wei Luning
24a10225cf
change base class of ref to tensor in cpp
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
4f46c4277a
!4614 Code compile performance optimization
Merge pull request !4614 from zhoufeng/code-compile-performance
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
ea3ddea3d4
remove ref origin
5 years ago
liubuyu
d81862a916
decoupling core and context
5 years ago
fary86
d4a3d0fa14
Fix large for loop execute fail
5 years ago
Wei Luning
2899aaade5
fix bug in remove phiphi should replace the inner ones first
5 years ago
mindspore-ci-bot
8da91ca3cf
!3237 support call the parent class function
Merge pull request !3237 from zhangbuxue/support_call_the_parent_class_construct_function
5 years ago
buxue
073507a5e0
support call the parent class function
5 years ago
Wei Luning
acbccea644
remove redundant phi
5 years ago
liubuyu
43c79eb853
mindspore path adjust
5 years ago