Zhang Qinghua
e8b421fe6e
Enable JIT Fallback in default.
4 years ago
Margaret_wangrui
78fc2e45ff
Fix the resolve problem with parameters with the same name
4 years ago
He Wei
57c75a9479
Support construct CNode by move inputs in
4 years ago
Zhang Qinghua
bcfb274074
[Fallback] Fix previous block parameters problem, and add test cases.
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
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
huangbingjian
5b59d0104f
1. modify the execution method of substitution in irpass; 2. Refactor resolve pass; 3. Split UpdatestateEliminater into multiple passes.
4 years ago
Zhang Qinghua
aa08bbf063
To handle the Parameter from Cell.CreateInstance() in top func graph context.
4 years ago
Margaret_wangrui
e01ad12cdc
code self check
4 years ago
huanghui
29f632613f
optimize log
4 years ago
buxue
2551f5ea7e
support name or attribute ast.Expr
5 years ago
wangnan39@huawei.com
0681c2597b
develop mindir load and run
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
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
huanghui
bda74495f3
Add trace mangager around front opt
5 years ago
buxue
483c8a179a
improve the recognition of Parameter object and raise error when convert keywordarg to pydata
5 years ago
Wei Luning
1a2eb5c8f7
fix time cost
5 years ago
Wei Luning
24a10225cf
change base class of ref to tensor in cpp
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
zhoufeng
663278112f
optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
Wei Luning
c1c30a44f1
rename param_value -> param_info
5 years ago
Wei Luning
ea3ddea3d4
remove ref origin
5 years ago
Wei Luning
a05c38bb63
make python Parameter inherit from Tensor
5 years ago
Zichun Ye
5b9899eb4f
add support to resolve attr for a class
update logic for cache
clean up code
add test cases for new api
update include of code
specify the resolve attr to ClassMember
avoid resolve attr of self
5 years ago
huangdongrun
ee2039fbba
add support for value sequence of primitve
5 years ago
liubuyu
43c79eb853
mindspore path adjust
5 years ago