seatea
981b013f81
Fix CSE bug for some operations like `DropoutGenMask` which should not
be optimized as it will generate different values each time.
6 years ago
mindspore-ci-bot
6b4a6e55a0
!1177 fix codex
Merge pull request !1177 from panyifeng/fix_codex
6 years ago
panyifeng
a028c40e1c
fix codex
6 years ago
yvetteliu
aa912a9f71
Simplify node traversal strategy.
Simplify node traversal strategy.
Add a case when the node is a parameter.
format
Standardize operation.
6 years ago
mindspore-ci-bot
da7d605e85
!683 WIP: specialize hyper map parameter
Merge pull request !683 from xychow/bypass-renorm-and-specialize-hypermap-parameter
6 years ago
mindspore-ci-bot
8003a89a7b
!766 bugfix(SA): Add the support of nested loop.
Merge pull request !766 from gongchen/nest_loop
6 years ago
zhousiyi
047ac018da
specialize hypermap paramater
6 years ago
fary86
3f323e48e2
Add submodule id for log interface
6 years ago
gongchen
425a207663
bug(SA): Add the support of nested loop.
6 years ago
mindspore-ci-bot
affdd22de3
!967 Add switch_case primitive
Merge pull request !967 from panyifeng/switch_case_primitive
6 years ago
panyifeng
b7596e1f33
Add switch_case primitive
6 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
6 years ago
biffex
446dce0096
[ir] add seen generation to accelerate traversing the whole graph
6 years ago
mindspore-ci-bot
81ad297f43
!706 Fix CSE bug for `DropoutGenMask` operation
Merge pull request !706 from seatea/fix-cse-bug-for-dropoutgenmask
6 years ago
mindspore-ci-bot
d436f798dc
!881 Remove redundant process of keeping roots.
Merge pull request !881 from ZhangQinghua/master
6 years ago
Zhang Qinghua
353cbc99ff
Remove redundant process of keeping roots.
6 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.
6 years ago
seatea
538cc7e21b
Fix CSE bug for `DropoutGenMask` operation.
6 years ago
mindspore-ci-bot
8bf35b2b0c
!700 validate bprop rules
Merge pull request !700 from penn/validate_bprop_rules
6 years ago
mindspore-ci-bot
420ef2a352
!731 remove extra empty string from log text
Merge pull request !731 from fary86/remove_extra_empty_string_in_log
6 years ago
fary86
b314c1d621
Remove extra empty string from log text
6 years ago
panyifeng
9e633b6c12
validate bprop rules
6 years ago
mindspore-ci-bot
63712848e2
!494 Split ccsrc cmake to individual sub-directories
Merge pull request !494 from zhoufeng/cmake-sub
6 years ago
zhoufeng
b681cec8f2
cmake refactor
6 years ago
fary86
2078229436
Add prim name to error message for array_ops
6 years ago
mindspore-ci-bot
875ebc296d
!662 fix reviewboot and example of TruncatedNormal
Merge pull request !662 from zhangbuxue/fix-reviewboot
6 years ago
buxue
aff6777ecc
fix reviewboot and example of TruncatedNormal and add type mapping
6 years ago
Wei Luning
f305d6f8a7
Revert "add pattern AdjustAllReduceMulAdd"
This reverts commit ea6958c50a .
6 years ago
Wei Luning
30f397dbd6
Revert "use the old op"
This reverts commit 252ed4f7c9 .
6 years ago
zhousiyi
f6a4f3d155
[static_analysis]: remove the TrivialPrimEvaluator cache.
add cache for PythonPrimEvaluator. Be careful that
the infer function of PythonPrimitive in python code should
be idempotent.
6 years ago
lyfne
b7076d260e
Do cse graph by graph
6 years ago
zhoufeng
c2b3360d69
update clang format rule
6 years ago
Wei Luning
252ed4f7c9
use the old op
6 years ago
mindspore-ci-bot
3822b4837f
!340 Add a HistogramSummary ops to record tensor value
Merge pull request !340 from ougongchang/master
6 years ago
mindspore-ci-bot
71b63c3fcf
!246 [opt pass] AdjustAllReduceMulAdd
Merge pull request !246 from vlne-v1/I1E3PI-opt-pass-adjust-allreduce-apply-weight-decy-seq
6 years ago
Wei Luning
ea6958c50a
add pattern AdjustAllReduceMulAdd
6 years ago
ougongchang
0ed6d9178e
add Histogram summary operator
clean clang format errors and cpplint errors
add some test cases for histogram summary operator
6 years ago
Hoai Linh Tran h00472437
46c590b787
Add new flag to watch for the need of Renormalize pass when parsing the python input program
Signed-off-by: Hoai Linh Tran h00472437 <hoai.linh.tran@huawei.com>
Add optimizer checking: For a group of passes in "optimizer", if flagged then it will check and collect the newly generated nodes without types (i.e. abstract() == nullptr).
Before calling Renormalize(), the optimizer will check if there is any node needed retyping. If not the Renormalize pass will not be called.
Add checking for non-null abstract but still needs renorm;
Add flags to Substitution to help watching Renormalize
Simpler pass result checker, change Bool to Enum type
6 years ago
Wei Luning
37c94a5f76
add pass replace_old_param_
6 years ago
mindspore-ci-bot
98e69fc639
!215 fix bprop cache caused error with variable params
Merge pull request !215 from penn/fix_print_bprop_error
6 years ago
chenzomi
e09f220f17
fix complite bug in clang
6 years ago
义峰潘
2bef22d8a3
fix bprop cache caused error with variable params
6 years ago
biffex
62bbf560c6
constant duplicate mul for momentum
6 years ago
panyifeng
1fb776fe09
fix grad missing due to indirect dependent free morphism
6 years ago
huangdongrun
d3f733fa25
support grad on graph with variable arguments
use unpack graph primitive instead
add testcases for all grad interface
remove debug log
format code
remove dumpfuncgraph
resolve clang-format
resolve reviews
resolve cpplint
fix review
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago