Home
last modified time | relevance | path

Searched refs:kPrimAddFusion (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/lite/test/ut/tools/converter/registry/
Dmodel_parser_registry_test.cc52 bool is_add = opt::CheckPrimitiveType(*iter, prim::kPrimAddFusion); in TEST_F()
55 is_add = opt::CheckPrimitiveType(*iter, prim::kPrimAddFusion); in TEST_F()
Dpass_registry_test.cc59 if (!opt::CheckPrimitiveType(cnode, prim::kPrimAddFusion)) { in CanFusion()
75 if (!opt::CheckPrimitiveType(input, prim::kPrimAddFusion)) { in CanFusion()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtf_gelu_fusion.cc79 auto is_add1 = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimAddFusion>); in DefinePattern()
86 auto is_add2 = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimAddFusion>); in DefinePattern()
Dtflite_rel_pos_multi_head_attention_fusion.cc83 auto is_add1 = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimAddFusion)); in DefinePatterns()
98 auto is_add2 = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimAddFusion)); in DefinePatterns()
120 auto is_add3 = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimAddFusion)); in DefinePatterns()
128 auto is_add4 = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimAddFusion)); in DefinePatterns()
396 auto is_add = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimAddFusion)); in DefineProcessInputPattern()
439 auto is_add = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimAddFusion)); in DefineProcessOutputPattern()
Dmatmul_add_fusion.cc58 …if (!CheckPrimitiveType(node, prim::kPrimAddFusion) && !CheckPrimitiveType(node, prim::kPrimBiasAd… in Run()
Donnx_gelu_fusion.cc55 auto is_add = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimAddFusion>); in DefinePattern()
Dnorm_fusion.cc494 auto is_add1 = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimAddFusion>); in DefinePattern()
512 auto is_add2 = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimAddFusion>); in DefinePattern()
536 auto is_add1 = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimAddFusion>); in DefinePattern()
548 auto is_add2 = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimAddFusion>); in DefinePattern()
Dconv_biasadd_fusion.cc39 …return CheckPrimitiveType(anf_node, prim::kPrimAddFusion) || CheckPrimitiveType(anf_node, prim::kP… in IsAddNode()
Dmulti_head_attention_fusion.cc81 auto is_add = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimAddFusion)); in DefineMPWithMaskPattern()
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dtf_bidirection_gru_cf_fusion.cc78 auto add = VectorRef({GetPrim(prim::kPrimAddFusion), mul1, mul2}); in DefineGruCellPattern()
98 …auto fw_add = VectorRef({GetPrim(prim::kPrimAddFusion), fw_switch_true, std::make_shared<CondVar>(… in DefineBidirectionRnnPattern()
116 …VectorRef({GetPrim(prim::kPrimAddFusion), std::make_shared<SeqVar>(), std::make_shared<CondVar>(Is… in DefineBidirectionRnnPattern()
/third_party/mindspore/mindspore/lite/examples/converter_extend/src/
Dpass_registry_tutorial.cc84 if (!CheckPrimitiveTypeTutorial(node, prim::kPrimAddFusion)) { in Execute()
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dquantize_util.cc109 …static const std::set<PrimitivePtr> support_int8_ops = {prim::kPrimAddFusion, prim::kPrimActi… in CanOpFullQuantized()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h647 inline const PrimitivePtr kPrimAddFusion = std::make_shared<Primitive>("AddFusion"); variable
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dslice_prepose_pass.cc1489 CheckPrimitiveType(preceed_cnode, prim::kPrimAddFusion)) { in DoPrepose()