Home
last modified time | relevance | path

Searched defs:matmul_cnode (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/fusion/
Dmatmul_add_fusion.cc33 bool IsPrimitiveProper(const CNodePtr &add_cnode, const CNodePtr &matmul_cnode, int index) { in IsPrimitiveProper()
83 int CalNewCnodeBias(const AnfNodePtr &add_weight_node, const CNodePtr &matmul_cnode) { in CalNewCnodeBias()
139 auto matmul_cnode = add_cnode->input(index)->cast<CNodePtr>(); in Run() local
Dmatmul_mul_fusion.cc33 int CalNewCnodeScale(const CNodePtr &mul_cnode, const CNodePtr &matmul_cnode) { in CalNewCnodeScale()
80 int CalNewCnodeBias(const CNodePtr &mul_cnode, const CNodePtr &matmul_cnode) { in CalNewCnodeBias()
110 bool IsPrimitiveProper(const CNodePtr &mul_cnode, const CNodePtr &matmul_cnode) { in IsPrimitiveProper()
209 auto matmul_cnode = matmul_node->cast<CNodePtr>(); in Process() local
Dmatmul_activation_fusion.cc58 auto matmul_cnode = act_cnode->input(1)->cast<CNodePtr>(); in Process() local
Dmatmul_allreduce_fusion.cc156 auto matmul_cnode = allreduce_cnode->input(kInputIndexOne)->cast<CNodePtr>(); in CreateMatMulAllReduceNode() local
200 auto matmul_cnode = biasAdd_cnode->input(kInputIndexOne)->cast<CNodePtr>(); in CreateMatMulBiasAddAllReduceNode() local
247 auto matmul_cnode = dequant_cnode->input(kInputIndexOne)->cast<CNodePtr>(); in CreateMatMulDequantAllReduceNode() local
Dtensor_dot_fusion.cc139 auto matmul_cnode = reshape_1_cnode->input(1)->cast<CNodePtr>(); in Process() local
Dadjust_matmul_pass.cc256 auto matmul_cnode = func_graph->NewCNode(dst_prim, {squeeze_cnode, matmul_weight_input}); in AdjustBMMToMM() local
Dbatchmatmul_fusion.cc381 auto matmul_cnode = func_graph->NewCNode(matmul_inputs); in Process() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/pass/
Doverlap_gradmatmul_and_gradallreduce.cc45 auto matmul_cnode = node->cast<CNodePtr>(); in ExtractForwardMatMul() local
182 auto matmul_cnode = matmul_node->cast<CNodePtr>(); in ExtractForwardNodes() local
204 auto matmul_cnode = node->cast<CNodePtr>(); in ExtractBackwardNodes() local
Dpass_utils.cc102 auto matmul_cnode = node->cast<CNodePtr>(); in ExtractBackwardMatMul() local
Dsplit_matmul_comm_elementwise_fp.cc89 auto matmul_cnode = comm_cnode->input(kIndex1)->cast<CNodePtr>(); in SplitIntoInterleaved() local
Dsplit_layernorm_comm_fp.cc39 bool IsAnyMatMulInputTranspose(const CNodePtr &matmul_cnode) { in IsAnyMatMulInputTranspose()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fusion/
Dinference_matmul_split_fusion.cc205 auto matmul_cnode = reshape_cnode->input(kIndex1)->cast<CNodePtr>(); in CreateMatmulSplitNode() local
248 auto matmul_cnode = biasAdd_cnode->input(kIndex1)->cast<CNodePtr>(); in CreateMatmulBiasAddSplitNode() local
376 auto matmul_cnode = reshape_cnode->input(kIndex1)->cast<CNodePtr>(); in CreateMatmulSplitSiluNode() local
430 auto matmul_cnode = biasAdd_cnode->input(kIndex1)->cast<CNodePtr>(); in CreateMatmulBiasAddSplitSiluNode() local
Dmc2_fusion.cc184 auto matmul_cnode = reduce_scatter_cnode->input(kIndex1)->cast<CNodePtr>(); in CreateFusionCNode() local
257 auto matmul_cnode = node->cast<CNodePtr>(); in CreateFusionCNode() local
Dmatmul_elemwise_fusion.cc74 auto matmul_cnode = elemwise_node->input(kIndex1)->cast<CNodePtr>(); in Process() local
Dmatmul_allreduce_fusion.cc81 auto matmul_cnode = allreduce_cnode->input(kIndex1)->cast<CNodePtr>(); in CreateMatMulAllReduceNode() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/onnx/
Donnx_megatron_op_adjust.cc70 auto matmul_cnode = func_graph->NewCNode(matmul_prim_c, inputs); in AdjustMegatronLinearAllGather() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/graph/
Dslice_prepose_pass.cc627 const CNodePtr &matmul_cnode, in CreateSlice1ForReshapePrepose()
711const CNodePtr &matmul_cnode, const std::vector<int64_t> &shape_in, in PreposeWithAbnormalReshape()
957 auto matmul_cnode = matmul_node->cast<CNodePtr>(); in PreposeWithReshape() local
978 const CNodePtr &matmul_cnode) { in PreposeWithMatmul()