Home
last modified time | relevance | path

Searched refs:prim2 (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore/lite/test/ut/tools/optimizer/fusion/
Dconv_activation_fusion_test.cc91 auto prim2 = new schema::ActivationT; in BuildGraph() local
92 prim2->activation_type = activation_type; in BuildGraph()
93 next_node->primitive->value.value = prim2; in BuildGraph()
Dconv_bn_fusion_test.cc93 auto prim2 = new schema::BatchNormT; in BuildCaffeGraph() local
94 bn_node->primitive->value.value = prim2; in BuildCaffeGraph()
174 auto prim2 = new schema::FusedBatchNormT; in BuildTFGraph() local
175 bn_node->primitive->value.value = prim2; in BuildTFGraph()
Dconv_biasadd_fusion_test.cc92 auto prim2 = new schema::BiasAddT; in BuildGraph() local
93 biasadd_node->primitive->value.value = prim2; in BuildGraph()
Dconv_scale_fusion_test.cc110 auto prim2 = new schema::ScaleFusionT; in BuildGraph() local
111 scale_node->primitive->value.value = prim2; in BuildGraph()
/third_party/mindspore/tests/ut/cpp/parallel/
Dstep_auto_parallel_test.cc128 PrimitivePtr prim2 = MatMul_2_node->input(0)->cast<ValueNodePtr>()->value()->cast<PrimitivePtr>(); in Create_two_nodes() local
131 prim2->set_attr("transpose_a", transpose_a); in Create_two_nodes()
132 prim2->set_attr("transpose_b", transpose_b); in Create_two_nodes()
Dstep_parallel_test.cc175 PrimitivePtr prim2 = node2->input(0)->cast<ValueNodePtr>()->value()->cast<PrimitivePtr>(); in Make_Manager() local
176 prim2->AddAttr("transpose_a", transpose_a); in Make_Manager()
177 prim2->AddAttr("transpose_b", transpose_b); in Make_Manager()
178 prim2->AddAttr("instance_name", MakeValue("matmul2")); in Make_Manager()
179 prim2->AddAttr("strategy", var2); in Make_Manager()
/third_party/boost/tools/auto_index/src/
Dauto_index.cpp547 boost::tiny_xml::element_ptr prim2(new boost::tiny_xml::element()); in process_node() local
548 prim2->name = "primary"; in process_node()
549prim2->elements.push_front(boost::tiny_xml::element_ptr(new boost::tiny_xml::element())); in process_node()
550 prim2->elements.front()->content = i->term; in process_node()
551 p2->elements.push_front(prim2); in process_node()
/third_party/mindspore/mindspore/core/ir/
Danf.cc220 bool IsPrimitiveEquals(const PrimitivePtr &prim1, const PrimitivePtr &prim2) { in IsPrimitiveEquals() argument
221 if (prim1 == nullptr || prim2 == nullptr) { in IsPrimitiveEquals()
224 return (prim1 == prim2) || (prim1->Hash() == prim2->Hash() && prim1->name() == prim2->name()); in IsPrimitiveEquals()
Danf.h583 bool IsPrimitiveEquals(const PrimitivePtr &prim1, const PrimitivePtr &prim2);
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dpipeline_split_utils.cc246 auto prim2 = GetCNodePrimitive(cnode2); in CompFunc() local
248 MS_EXCEPTION_IF_NULL(prim2); in CompFunc()
250 auto rank_tag2 = prim2->GetAttr(SRC_RANK); in CompFunc()
255 rank_tag2 = prim2->GetAttr(DEST_RANK); in CompFunc()
264 auto sr_tag2 = prim2->GetAttr(SR_TAG); in CompFunc()