Home
last modified time | relevance | path

Searched refs:kPrimBiasAdd (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dbias_add.h36 BiasAdd() : PrimitiveC(prim::kPrimBiasAdd->name()) { InitIOName({"x", "b"}, {"output"}); } in BiasAdd()
Dbias_add.cc112 REGISTER_PRIMITIVE_EVAL_IMPL(BiasAdd, prim::kPrimBiasAdd, BiasAddInfer, nullptr, true);
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dmatmul_biasadd_fusion.cc28 VectorRef pattern({prim::kPrimBiasAdd, matmul, x2_}); in DefinePattern()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dmatmul_add_fusion.cc58 …!CheckPrimitiveType(node, prim::kPrimAddFusion) && !CheckPrimitiveType(node, prim::kPrimBiasAdd)) { in Run()
Dtranspose_fusion.cc96 auto is_bias_add = std::make_shared<CondVar>(IsSpecifiedNode<&prim::kPrimBiasAdd>); in DefineBiasAddPattern()
Dconv_biasadd_fusion.cc39 …kPrimitiveType(anf_node, prim::kPrimAddFusion) || CheckPrimitiveType(anf_node, prim::kPrimBiasAdd); in IsAddNode()
Dmulti_head_attention_fusion.cc128 auto is_bias_add = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimBiasAdd)); in DefineDensePattern()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dmatmul_biasadd_fusion.cc58 …VectorRef bias_add = VectorRef({prim::kPrimBiasAdd, VectorRef({prim::kPrimMatMul, x_, load_w}), lo… in DefinePattern()
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dtf_bidirection_gru_cf_fusion.cc63 auto bias = VectorRef({GetPrim(prim::kPrimBiasAdd), matmul, bias_enter}); in DefineGruCellPattern()
73 auto bias1 = VectorRef({GetPrim(prim::kPrimBiasAdd), matmul1, bias1_enter}); in DefineGruCellPattern()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/cpu/
Dinsert_format_transform_op.cc173 const std::unordered_set<std::string> kChannelLastKernel = {prim::kPrimBiasAdd->name()};
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_expander.cc68 {kGPUDevice, OpLevel_0, prim::kPrimBiasAdd}, in GetExpandOps()
/third_party/mindspore/mindspore/core/abstract/
Dprimitive_infer_map.cc160 {prim::kPrimBiasAdd, {InferImplBiasAdd, nullptr, true}}, in GetPrimitiveToEvalImplMap()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h328 inline const PrimitivePtr kPrimBiasAdd = std::make_shared<Primitive>(kBiasAdd); variable