zhangzhaoju
6a2aee492c
Clean code that not used
4 years ago
mindspore-ci-bot
39264839e8
!15418 clean code not used
From: @zhangzhaoju
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
4 years ago
huangbingjian
e5d32c9ff8
add switch_defer_inline
4 years ago
zhangzhaoju
fdd58d8f2b
delete code not used
4 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
leopz
c45f4d225d
dump binary ir
5 years ago
leopz
6d155e5f4a
fix codedex
5 years ago
panyifeng
acaa66a738
sparse grad for gatherv2
5 years ago
leopz
4508134ceb
add tensor_minnie and separate py from ir
5 years ago
leopz
40e15996b0
move default_param out of parameter and remove pybind11 in anf define
5 years ago
zhoufeng
c2b3360d69
update clang format rule
5 years ago
chenjianping
1286767d0e
support building on windows
6 years ago
leonwanghui
322ffef3e4
Fix some typo errors in mindspore ir module
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago
fary86
816b60491d
Dump graph with type info when static analysis failed
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago