He Wei
c7910cbd37
Fix cyclomatic complexity
4 years ago
zhangzhaoju
297687d43f
Avoid print duplicate error msg while exception.
4 years ago
He Wei
7fb80fff03
Refactor and optimize debug trace
1. Use static 'name' and 'symbol' for TraceInfo, avoid copy them;
2. Refactor DebugInfo, move 'debug_id' down to GraphDebugInfo;
3. Make Location, TraceContext immutable;
4. Optimize trace context stack, use value instead of shared_ptr;
5. TraceInfo, DebugInfo no longer inherit from Base.
4 years ago
huanghui
80416a71e0
fix warnings of pclint plus, codedex and codecheck
4 years ago
yelihua
7c3994e48e
use Common::CreatePrefixPath instead of Common::GetRealPath
4 years ago
Zhang Qinghua
d75da759d6
Return Depend CNode's first node if the dependant has a value.
4 years ago
ms_yan
36a8886ca2
Revert "[feat] [assistant] [I3T96T] add new Dataset operator CMUARCTICDataset"
This reverts commit b077aa1cab .
Revert "[feat] [assistant] [I3T96X] add new Dataset operator LibriSpeechDataset"
This reverts commit 4e6f7dc97d .
delete pass_registry_test.cc
comment hiai_nlu_model_multi.pb related line
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
huanghui
1630dcb0c8
add subdirectory for log and ir_dump
4 years ago
zhangzhaoju
610ee46ebe
Add file open failure info while file open failed
4 years ago
zhangzhaoju
518f0e4d88
ci format issue fix
4 years ago
Zhang Qinghua
a9f58484b0
Export IR with FV informations.
4 years ago
TinaMengtingZhang
b9e391b6ae
Change fullname_with_scope in dump and online debugger
4 years ago
buxue
1590f16953
delete python get_file_real_path
4 years ago
buxue
0049109d11
add permission for save files
4 years ago
buxue
1a283aea47
fix review boots and code dex
4 years ago
zhangzhaoju
e4836fb1ec
recorrect ExportIR while ENABLE_DUMP_IR is off
4 years ago
Zhang Qinghua
5ad27e7639
Evaluate the func graph in simulative stack, not to call recursively.
5 years ago
zhangzhaoju
6a2aee492c
Clean code that not used
5 years ago
mindspore-ci-bot
39264839e8
!15418 clean code not used
From: @zhangzhaoju
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
5 years ago
huangbingjian
e5d32c9ff8
add switch_defer_inline
5 years ago
zhangzhaoju
fdd58d8f2b
delete code not used
5 years ago
zhangzhaoju
a1db9c4959
Pybind11::object && PrimitivePy recycle optimize
5 years ago
huanghui
a2ba47e18a
1. Add unique id for .dat and .dot file to avoid covering
2. Dump the end graph in gpu session and cu session
5 years ago
l00591931
680324f225
Change make tuple in core.ops
5 years ago
mindspore-ci-bot
9b527cc9dd
!12800 Optimize the compile performance in Parser, FG, Manager and Renormalize.
From: @zh_qh
Reviewed-by:
Signed-off-by:
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
l00591931
cf7c5840e3
Change return
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
Yi Huaijie
d7faa77b5e
support int64 shape
5 years ago
huanghui
b7519b7418
unify save_graphs_path
5 years ago
zhousiyi
c25e37e7bf
make backend/optimizer pybind free
5 years ago
zhoufeng
22ec976ef7
fix compilation warnings
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
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
mindspore-ci-bot
f875bf21bc
!2948 fix control flow
Merge pull request !2948 from amongo/FixControlFlow
5 years ago
huangdongrun
2a6d346d2f
support if by if grad parameter
add join for ref
adjust env eliminate to eliminate all env ops
add partial app cache
resolve while endless
fix env eliminate
support for "for while" cases
fix join shape error
5 years ago
panyifeng
1c296b96c9
fix switch layer sigle prim cell
5 years ago
liubuyu
45b6600001
mv cc file that end with py to pybind
5 years ago
liubuyu
d81862a916
decoupling core and context
5 years ago
Wei Luning
a05c38bb63
make python Parameter inherit from Tensor
5 years ago
liubuyu
a499d4e47c
decoupling core and debug
5 years ago
liubuyu
f4bc0bc9fe
move the dependency of utils to core
5 years ago
panyifeng
4d4e23fd9e
Add bprop for sparse_tensor
5 years ago
liubuyu
43c79eb853
mindspore path adjust
5 years ago
He Wei
f337c6bc14
Decouple ParamValue from python
5 years ago
buxue
699dc99bc8
add typeid to type conversion scene
5 years ago
He Wei
43e0967024
Decouple ir::Tensor class from python
5 years ago
mindspore-ci-bot
02e0288a97
!2017 Fix codedex
Merge pull request !2017 from leopz/fix_codedex
5 years ago