buxue
6f1105ea79
show accurate error line when use user defined class
5 years ago
mindspore-ci-bot
c1eb3f30a5
!14489 modify the parse module to adapt to python3.8 ast
From: @yepei6
Reviewed-by: @zh_qh,@kingxian
Signed-off-by: @zh_qh
5 years ago
yepei6
b68de64969
modify the support of Ellipsis in parse for python3.8
5 years ago
buxue
8c47ce1803
show accurate error info and error lines when use unsupported builtin function
5 years ago
buxue
d830a2b55a
optimize exception mode when use undefined name in if for and while
5 years ago
buxue
e3056ed9b2
show accurate code line when use uninitialized var in for
5 years ago
lichenever
a2b2727ba8
change_pipeline_key_word
5 years ago
mindspore-ci-bot
1e33df94a5
!13142 support name or attribute ast.Expr
From: @zhangbuxue
Reviewed-by:
Signed-off-by:
5 years ago
buxue
2551f5ea7e
support name or attribute ast.Expr
5 years ago
Zhang Qinghua
46485439c1
Filter FV out from isolated nodes list.
5 years ago
mindspore-ci-bot
7cd603f683
!12920 Add more isolated nodes in Parser, and clear dependency nodes that have no side effect.
From: @zh_qh
Reviewed-by:
Signed-off-by:
5 years ago
Zhang Qinghua
2e48501d54
Add more isolated nodes in Parser, and clear dependency nodes that have no side effect.
5 years ago
mindspore-ci-bot
d8ec8f6e95
!12782 support load mindir and run
From: @wangnan39
Reviewed-by:
Signed-off-by:
5 years ago
wangnan39@huawei.com
0681c2597b
develop mindir load and run
5 years ago
mindspore-ci-bot
48d4cca512
!12949 Add TopoSort Rhs First attribute for special CNode, such as Depend CNode with isolated nodes.
From: @zh_qh
Reviewed-by: @hwhewei,@zhunaipan
Signed-off-by: @zhunaipan
5 years ago
Zhang Qinghua
df866f7248
Add TopoSort Rhs First attribute for special CNode, such as Depend CNode with isolated nodes.
5 years ago
l00591931
680324f225
Change make tuple in core.ops
5 years ago
Zhang Qinghua
b8d84ba106
Modify log level to INFO for printing isolated node info.
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
mindspore-ci-bot
1a745006ae
!12505 add exception description for assign subnet parameter
From: @zhangbuxue
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
5 years ago
buxue
d215887ad6
add exception description for assign subnet parameter
5 years ago
Zhang Qinghua
ebbf48697f
Traverse all nodes once, then traverse all Substitutions on each node.
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
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