huanghui
c4d61629b5
fix wrong scope and debug info
4 years ago
huangbingjian
d0ca18b921
Add global Py param when processing global namespace info.
4 years ago
Margaret_wangrui
6275cdcf7a
add fallback testcases
4 years ago
Zhang Qinghua
e8b421fe6e
Enable JIT Fallback in default.
4 years ago
He Wei
57c75a9479
Support construct CNode by move inputs in
4 years ago
i-robot
9309a11999
!23352 [Fallback] Handle interpreted node as input, set function Parameters and update local params if need.
Merge pull request !23352 from 张清华/opt_fallback
4 years ago
Zhang Qinghua
9fbd118319
Handle interpreted node as input, set function Parameters and update local params if need.
4 years ago
huanghui
80416a71e0
fix warnings of pclint plus, codedex and codecheck
4 years ago
yujianfeng
6e04468900
Clean code for compiler
4 years ago
Zhang Qinghua
bcfb274074
[Fallback] Fix previous block parameters problem, and add test cases.
4 years ago
i-robot
7978aae666
!22946 Handle if break else break situation of control flow
Merge pull request !22946 from chenfei_mindspore/pr_dead_block
4 years ago
chenfei
f6fe46e469
support if break else break situation
add trace guard
4 years ago
Zhang Qinghua
6edea0ed3c
Add supported namespace for fallback.
4 years ago
Zhang Qinghua
7203989c26
Support fallback feature in Graph mode (1).
4 years ago
He Wei
6a23f6979a
Support 'no_eliminate' primitive
4 years ago
djc
b077aa1cab
[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset
4 years ago
djc
4e6f7dc97d
[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset
4 years ago
Zhang Qinghua
aef396f9f2
Support ListComp and GeneratorExp in Graph Mode.
4 years ago
chenfei
8e5a250c21
code self check
4 years ago
Margaret_wangrui
e01ad12cdc
code self check
4 years ago
huanghui
29f632613f
optimize log
4 years ago
huanghui
197bd84ae0
fix static code check
5 years ago
Margaret_wangrui
5adb0f03e9
code check
5 years ago
buxue
6f1105ea79
show accurate error line when use user defined class
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
Zhang Qinghua
46485439c1
Filter FV out from isolated nodes list.
5 years ago
Zhang Qinghua
2e48501d54
Add more isolated nodes in Parser, and clear dependency nodes that have no side effect.
5 years ago
Zhang Qinghua
df866f7248
Add TopoSort Rhs First attribute for special CNode, such as Depend CNode with isolated nodes.
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
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
huanghui
bda74495f3
Add trace mangager around front opt
5 years ago
yujianfeng
3176d377e6
Remove redundant phi nodes
5 years ago
Wei Luning
24a10225cf
change base class of ref to tensor in cpp
5 years ago
zhoufeng
663278112f
optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
liubuyu
a499d4e47c
decoupling core and debug
5 years ago
fary86
d4a3d0fa14
Fix large for loop execute fail
5 years ago
buxue
f84b055244
add check for implicit conversion when scalar is not number and bool.
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