/third_party/mindspore/mindspore/_extends/graph_kernel/model/ |
D | model.py | 92 ELEMWISE = 2 variable in PrimLib 131 PrimLib.ELEMWISE if out_shape[i + delta] == in_shape[i] else PrimLib.BROADCAST) 160 'Add': Prim(ELEMWISE), 161 'Abs': Prim(ELEMWISE), 162 'Neg': Prim(ELEMWISE), 163 'Mul': Prim(ELEMWISE), 164 'Sub': Prim(ELEMWISE), 165 'Log': Prim(ELEMWISE), 166 'IsNan': Prim(ELEMWISE), 167 'IsInf': Prim(ELEMWISE), [all …]
|
D | graph_split.py | 152 if self.get_relation(to, idx) > PrimLib.ELEMWISE: 711 … if dom.pattern not in (PrimLib.ELEMWISE, PrimLib.BROADCAST) or len(dom.in_relations) != 1: 714 … if a.pattern > PrimLib.BROADCAST or len(a.out_relations) != 1 or r != PrimLib.ELEMWISE or \ 720 if dom.pattern not in (PrimLib.ELEMWISE, PrimLib.BROADCAST): 724 … if a.pattern <= PrimLib.BROADCAST and r == PrimLib.ELEMWISE and a.check_acyclic(dom) and \ 731 return dom.pattern > PrimLib.ELEMWISE or r > PrimLib.ELEMWISE 735 … if dom.pattern not in (PrimLib.ELEMWISE, PrimLib.BROADCAST) or len(dom.out_relations) != 1 or \ 744 if dom.pattern not in (PrimLib.ELEMWISE, PrimLib.BROADCAST) or \ 758 return a.pattern > PrimLib.ELEMWISE or r > PrimLib.REDUCE or r == PrimLib.BROADCAST 1003 … if dom.pattern not in (PrimLib.ELEMWISE, PrimLib.BROADCAST) or len(dom.in_relations) != 1: [all …]
|
D | graph_parallel.py | 134 if dom_type in (PrimLib.ELEMWISE, PrimLib.BROADCAST):
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/ |
D | fusion_base_pass.cc | 34 …AnfAlgo::GetFusionType(node) == kernel::FusionType::ELEMWISE && not_updatestate_nums == ELTWISE_US… in CheckEltWiseNode() 49 …AnfAlgo::GetFusionType(node) == kernel::FusionType::ELEMWISE && not_updatestate_nums == ELTWISE_US… in CheckDoubleInEltWiseNode() 64 …AnfAlgo::GetFusionType(node) == kernel::FusionType::ELEMWISE && not_updatestate_nums == ELTWISE_MU… in CheckMultiOutputEltWiseNode()
|
D | matmul_eltwise_fusion_pass.cc | 55 AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && in MatchSingleFusionPattern() 63 AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && in MatchSingleFusionPattern()
|
D | bnupdate_eltwise_fusion_pass.cc | 59 AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && in MatchSingleFusionPattern()
|
D | conv_single_in_fusion_pass.cc | 69 …AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && cnode->inputs().size() == ELTWISE… in MatchSingleFusionPattern()
|
D | eltwise_fusion_pass.cc | 68 …AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && cnode->inputs().size() == ELTWISE… in MatchSingleFusionPattern()
|
D | conv_double_in_fusion_pass.cc | 65 …AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && cnode->inputs().size() == ELTWISE… in MatchSingleFusionPattern()
|
D | multi_output_fusion_pass.cc | 73 …AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && cnode->inputs().size() == ELTWISE… in MatchSingleFusionPattern()
|
D | depthwiseconv_eltwise_fusion_pass.cc | 64 AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE) { in MatchSingleFusionPattern()
|
D | bnupdate_eltwise_eltwise_fusion_pass.cc | 70 AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && in MatchSingleFusionPattern()
|
D | segment_eltwise_fusion_pass.cc | 79 …AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && cnode->inputs().size() == ELTWISE… in MatchSingleFusionPattern()
|
D | conv2dbackprop_eltwise_eltwise_fusion_pass.cc | 81 AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && in MatchSingleFusionPattern()
|
D | reduce_eltwise_fusion_pass.cc | 82 …AnfAlgo::GetFusionType(cnode) == kernel::FusionType::ELEMWISE && cnode->inputs().size() == ELTWISE… in MatchSingleFusionPattern()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/ |
D | insert_cast_test.cc | 61 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 69 builder1.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 123 builder1.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/pass/ |
D | allreduce_fusion_test.cc | 57 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 98 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 139 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 196 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F()
|
/third_party/mindspore/tests/ut/cpp/tbe/ |
D | tbe_json_creator_test.cc | 67 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 110 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 168 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 222 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 267 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 339 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F()
|
/third_party/mindspore/config/ |
D | op_info.config | 113 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 114 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 115 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 118 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 119 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 121 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 122 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 123 …ke_output", "param_type": "optional", "type": "bool"}], "fusion_type": "ELEMWISE", "dtype_format":… 124 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… 125 …outputs": [{"index": 0, "name": "output"}], "attr": [], "fusion_type": "ELEMWISE", "dtype_format":… [all …]
|
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/buffer_fusion/ |
D | buffer_fusion_test.cc | 72 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 143 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 233 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 315 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fission/ |
D | transdata_split_test.cc | 126 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F() 174 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/ |
D | op_node.h | 44 ELEMWISE, enumerator 80 …ElemwiseOp(const std::string &op, const std::string &node_name) : PrimOp(op, node_name, ELEMWISE) … in ElemwiseOp()
|
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fusion/ |
D | transpose_transdata_fusion_test.cc | 107 builder.SetFusionType(kernel::FusionType::ELEMWISE); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/ |
D | kernel.h | 50 ELEMWISE, enumerator
|
/third_party/mindspore/tests/ut/cpp/pre_activate/mem_reuse/ |
D | mem_reuse_test.cc | 129 relu_builder.SetFusionType(kernel::FusionType::ELEMWISE); in CreateKernelGraph()
|