huangdongrun
1bd9fefd84
support if by if not inline
add testcase of net of if by if
5 years ago
mindspore-ci-bot
8d693306f4
!4126 Add new parameter
Merge pull request !4126 from BowenK/new_parameter
5 years ago
BowenK
7a7e499475
Revert "Eliminate AllReduce when the input is a constant"
This reverts commit f3a9fbdd78 .
5 years ago
BowenK
e7c6b7e66a
Add NewParameter and Imm patterns
5 years ago
panyifeng
f9f3cd7ce0
fix switch_layer_issues
5 years ago
mindspore-ci-bot
b2a5440548
!4883 Fix compilation warnings
Merge pull request !4883 from zhoufeng/xiu-ba-ge
5 years ago
zhoufeng
22ec976ef7
fix compilation warnings
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
mindspore-ci-bot
bfa3cd900e
!4843 remove ccsrc/common.h by explicit dependent header file
Merge pull request !4843 from xychow/remove-ccsrc-common-h
5 years ago
mindspore-ci-bot
d2ea6d8cfc
!4698 Add shape inference in constant multiplication simplification
Merge pull request !4698 from Giancarlo/setshape_constmult
5 years ago
zhousiyi
d0e58dd765
remove ccsrc/common.h
replace frontend/operator/ops.h in backend with base/core_ops.h as
backend should not use any frontend-only primitive
5 years ago
Wei Luning
dde5a1bb48
updata doc for Parameter & fix codex
5 years ago
tronzhang
256b916ebb
use optimizer to get node_users information in mergeaddn
5 years ago
Giancarlo Colmenares
06f43572fb
Moved const multiply to ArithmeticSimplify2 to solve issue with auto-parallel failing because the shape is not yet set. Issue #67
5 years ago
panyifeng
22a9d02e9f
switch_layer incorporate env_get and tuple_get
5 years ago
mindspore-ci-bot
4f46c4277a
!4614 Code compile performance optimization
Merge pull request !4614 from zhoufeng/code-compile-performance
5 years ago
zhoufeng
663278112f
optimize code compile performance
Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
5 years ago
Hoai Linh Tran
d17e9726d7
Update compare of X in Greater op
5 years ago
mindspore-ci-bot
81833943ba
!2969 Eliminate AllReduce when the input is a constant in Graph mode
Merge pull request !2969 from BowenK/fix_reduce_all
5 years ago
BowenK
f3a9fbdd78
Eliminate AllReduce when the input is a constant
5 years ago
mindspore-ci-bot
1b28f77be4
!4198 New optimization pass to remove redundant Max ops
Merge pull request !4198 from thlinh/dev_Aug08_eliminate_more_redundant_Max
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
mindspore-ci-bot
6b120584c2
!4396 Fix static check problems
Merge pull request !4396 from Kang/opt
5 years ago
wuyongkang
78611b5d5b
fix static check problems
5 years ago
panyifeng
1c296b96c9
fix switch layer sigle prim cell
5 years ago
mindspore-ci-bot
64923214f1
!4248 Update RowTensorEliminater and IndexedSliceEliminate to Pattern Matcher
Merge pull request !4248 from Giancarlo/pm_update_sparsetensor
5 years ago
liubuyu
45b6600001
mv cc file that end with py to pybind
5 years ago
Hoai Linh Tran
d3367dcc77
Remove redundant Max(x, 0) for x positive
Code review
5 years ago
Giancarlo Colmenares
58ec52445f
Converted RowTensorEliminater and IndexedSlicesEliminater to use Pattern Matcher
5 years ago
lvliang
e1a3c39fac
fix-bug-avoid-multi-attr-value-be-eliminated-in-pynative-mode
5 years ago
Wei Luning
ea3ddea3d4
remove ref origin
5 years ago
lvliang
038bd6cbf1
enable-the-identity-op-can-be-eliminated-in-pynative-mode
5 years ago
mindspore-ci-bot
2b2c1730ad
!3696 Update AdjustAllReduce to use Pattern Matcher
Merge pull request !3696 from Giancarlo/update_adjust_allreduce
5 years ago
panyifeng
34e50e5d6e
fix cell bprop
5 years ago
kingfo
28dabf0332
fix grad flag update issue in pynative
5 years ago
mindspore-ci-bot
0a87face77
!3720 New optimization pass to remove redundant Min/Max ops
Merge pull request !3720 from thlinh/dev_July29_remove_redundant_minmax
5 years ago
liubuyu
d81862a916
decoupling core and context
5 years ago
Giancarlo Colmenares
e6a76e4d6a
Converted AdjustAllReduceMulAdd to use Pattern Matcher
5 years ago
mindspore-ci-bot
c3edfe12bc
!3715 Update python pattern expression
Merge pull request !3715 from BowenK/new_pattern
5 years ago
zhousiyi
f926650c64
if AbstractFunction comparison succeed in NewContext, then the evaluator should use the same one, otherwise one of the evaluator will not be evaluated.
if funcgraph or metafuncgraph call it recursively, then anf_node should be used as tracking_id to discriminate the first occurcance and the
recursive occurance.
add anf_node to PrimitiveAbstractClosure hash() to reduce cost of GetEvaluatorFor().
ignore the tracking_id to make cse work.
5 years ago
BowenK
6d4c07c886
Update python pattern expression
5 years ago
liubuyu
a499d4e47c
decoupling core and debug
5 years ago
mindspore-ci-bot
f1e717554c
!3537 add sparse operators
Merge pull request !3537 from riemann_penn/add_sparse_operator
5 years ago
panyifeng
598bfa0205
add sparse operators
5 years ago
Hoai Linh Tran
eae5f28256
Remove redundant Min/Max ops for Bert
Update threshold for rounding when checking expected value in input tensor node
5 years ago
wuyongkang
f1e639a86d
Fix opt unnecessary catch
5 years ago
mindspore-ci-bot
800b9dc596
!3270 New optimization pass to remove redundant Select ops
Merge pull request !3270 from thlinh/dev_Jul17_removeSelect
5 years ago
Giancarlo Colmenares
0b596c6080
Migrated ConvertSwitch to Pattern Matcher. Removed/updated comments.
5 years ago
mindspore-ci-bot
bca16792be
!3453 Support resolving an attribute of a Cell class instance
Merge pull request !3453 from zichun_ye/resolve_attr_pr
5 years ago
Hoai Linh Tran
2861e5462d
Add optimization pass to remove redundant Select, fix uninitiated parameter in test_bert_train.py script
Create a new pass named ValueBasedEliminate to reduce the load of Arithmetic Simplify
Code review
5 years ago