panyifeng
d6635bbbe2
Add IndexedSlices
5 years ago
mindspore-ci-bot
2291213b8b
!2574 Clean codex
Merge pull request !2574 from TronZhang/codex_0624
5 years ago
tronzhang
673afad0ba
fixed codex's warnnings and errors
5 years ago
huangdongrun
96b38f72b2
add ExpandDims whitelist
add comment for control_depend
5 years ago
Giancarlo Colmenares
aabec55c79
Removing TransformFuncType
5 years ago
mindspore-ci-bot
585acc984d
!2543 fix applyrmsprop to while list
Merge pull request !2543 from amongo/FixApplyRmsprop
5 years ago
huangdongrun
024b52d6e6
add inputtoattr prim to white list
5 years ago
He Wei
43e0967024
Decouple ir::Tensor class from python
5 years ago
zhousiyi
b2ec296f99
add opt pass for tuple_getitem with constant input
5 years ago
Giancarlo Colmenares
3277ca567d
Updated RefEliminate passes to use PatternMatcher
5 years ago
gong chen
a6dfa281ea
Init GraphKernel.
- It provides a unified style to express graph and kernel for user.
- It provides a unified IR to represent graph and kernel for developer.
- It breaks the boundary between graph and kernel.
- It provides more opportunities to do compile optimization.
5 years ago
BowenK
8f29e7242f
add pass to eliminate depend value
5 years ago
Giancarlo Colmenares
cfc19a6274
Added OptimizerCaller class as a parent for optimization appliers
5 years ago
mindspore-ci-bot
9b90d89f6b
!2276 fix eliminate get ref parameter
Merge pull request !2276 from fary86/fix_eliminate_get_ref
5 years ago
fary86
15b3fba0ef
Fix eliminate get ref parameter
5 years ago
mindspore-ci-bot
067616d0a5
!1833 Pattern Matcher class for optimizations
Merge pull request !1833 from Giancarlo/pattern_matcher
5 years ago
Giancarlo Colmenares
8eaea74407
Added a Pattern Matcher class to help with future optimization implementations. Includes changes to barnch_culling to show how to use the new Pattern Matcher infrastructure.
5 years ago
Kang
2974b906d3
Optimization for opt
5 years ago
mindspore-ci-bot
fe503d6571
!1975 Optimized IsTrivial function
Merge pull request !1975 from Kang/master
5 years ago
mindspore-ci-bot
9e1dea1ff9
!1928 delete redundant reshape op
Merge pull request !1928 from yoonlee666/deletereshape
5 years ago
Kang
786c5074da
Optimized IsTrivial function
5 years ago
yoonlee666
881af56ec3
optimize redundant reshape op
5 years ago
zhaoting
b16a552d41
Revert "Revert "add pattern AdjustAllReduceMulAdduse the old opadd test case for bugtemp fix try""
This reverts commit 705c71a257 .
5 years ago
mindspore-ci-bot
da06310ae0
!1766 [bug][auto cast]fix bug when do auto cast
Merge pull request !1766 from vlne-v1/I1J0M0-amp-do-auto-cast-failed
5 years ago
Wei Luning
7e4d972f6f
fix bug in do signature
5 years ago
BowenK
96379faa3a
Remove ZerosLikeTensor and sub with ZerosLike
5 years ago
rick_sanchez
e2a322b6b7
Modify code to support dynamic graph.
5 years ago
mindspore-ci-bot
8556eee3fc
!1578 recitify pretrained path and revert AdjustAllReduceMulAdduse
Merge pull request !1578 from gengdongjie/master
5 years ago
mindspore-ci-bot
1a4abefa9a
!1385 support for multi nest switch
Merge pull request !1385 from amongo/SupportMultiSwitch
5 years ago
gengdongjie
705c71a257
Revert "add pattern AdjustAllReduceMulAdduse the old opadd test case for bugtemp fix try"
This reverts commit 3db8cfa54f .
5 years ago
yao_yf
96c9569dca
fix reshape reshape case
5 years ago
huangdongrun
334d038008
add support for multi switch
resolve review
5 years ago
mindspore-ci-bot
848d19207f
!1359 Optimize the IR modules.
Merge pull request !1359 from ZhangQinghua/master
5 years ago
kingfo
840922e501
add backward hook function in pynative mode
5 years ago
Zhang Qinghua
3ae925115f
Refactoring FuncGraphManager module: Move all info. of nodes and edges from FuncGraphManager into FuncGraph.
5 years ago
rick_sanchez
19dfc98006
fix codex and reviewbot
5 years ago
mindspore-ci-bot
233508b70e
!1250 Dict_setitem transofrm to tuple_setitem
Merge pull request !1250 from amongo/SupportDictSetItemTransform
5 years ago
huangdongrun
3cf94daefc
add support for dict setitem operation
format code
remove save_graph
raise exception when dictionary setitem if the key not exists
resolve error
remove unnessary op_
5 years ago
Wei Luning
3db8cfa54f
add pattern AdjustAllReduceMulAdduse the old opadd test case for bugtemp fix try
6 years ago
panyifeng
a028c40e1c
fix codex
5 years ago
zhousiyi
047ac018da
specialize hypermap paramater
5 years ago
Hoai Linh Tran h00472437
d82bbe34c8
Added improvement for ZeroLikeFillZero optimization pass: The old algorithm convert the PrimitivePy op (with 3 nodes) into a
new subtree with 9 nodes and after that a Renormalize pass is needed to simplified it back to a tensor. The new algorithm will
create the tensor while visiting in the pass, therefore only a single node is created and no Renormalize will be needed for this pass
(if other passes requires then Renormalize will still be called but no further infer is needed for the created tensor)
Signed-off-by: Hoai Linh Tran h00472437 <hoai.linh.tran@huawei.com>
Code review
5 years ago
Zhang Qinghua
d43ad79b50
Optimize the collectors of manager which listen to the graphs and nodes changes.
1. Remove the records of user graphs;
2. Remove the records of user value nodes;
3. Remove the records of user cnodes;
4. Add the records of users, and the API to access the users of graph, value node, and cnode;
5. Fix issue:User cnode record may point to its own graph, when combine the user(caller) and used one(callee);
6. Fix issue:User graphs never update itself after its first creation.
5 years ago
panyifeng
9e633b6c12
validate bprop rules
5 years ago
mindspore-ci-bot
875ebc296d
!662 fix reviewboot and example of TruncatedNormal
Merge pull request !662 from zhangbuxue/fix-reviewboot
5 years ago
buxue
aff6777ecc
fix reviewboot and example of TruncatedNormal and add type mapping
5 years ago
Wei Luning
f305d6f8a7
Revert "add pattern AdjustAllReduceMulAdd"
This reverts commit ea6958c50a .
5 years ago
Wei Luning
30f397dbd6
Revert "use the old op"
This reverts commit 252ed4f7c9 .
5 years ago
zhoufeng
c2b3360d69
update clang format rule
5 years ago
Wei Luning
252ed4f7c9
use the old op
6 years ago