Home
last modified time | relevance | path

Searched refs:kPrimLoad (Results 1 – 25 of 47) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dload_eliminate.cc49 if (IsPrimitiveCNode(input_load, prim::kPrimLoad)) { in operator ()()
50 auto load_prim = NewValueNode(prim::kPrimLoad); in operator ()()
Dupdatestate_eliminate.cc206 if (IsPrimitiveCNode(attach, prim::kPrimLoad)) { in GetLoadsFromUpdateState()
233 …return (IsPrimitiveCNode(node, prim::kPrimLoad) && node->cast<CNodePtr>()->input(kAttachIndex) == … in GetLoadsFollowTuple()
444 if (IsPrimitiveCNode(ref_node, prim::kPrimLoad)) { in EliminateLoadBeforeAssigns()
638 if (IsPrimitiveCNode(attach, prim::kPrimPartial) || IsPrimitiveCNode(attach, prim::kPrimLoad)) { in operator ()()
774 … if (IsPrimitiveCNode(attach, prim::kPrimLoad) || IsPrimitiveCNode(attach, prim::kPrimMakeTuple)) { in operator ()()
Dless_batch_normalization.cc251 prim::kPrimLoad, prim::kPrimRefToEmbed, prim::kPrimApplyMomentum, prim::kPrimMomentum,
280 if (IsPrimitiveCNode(cnode, prim::kPrimLoad) || IsPrimitiveCNode(cnode, prim::kPrimRefToEmbed)) { in ConvertRemoveNodeToVirtualNode()
445 … [](const AnfNodePtr &node) { return IsPrimitiveCNode(node, prim::kPrimLoad); }); in operator ()()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dorder_enforce.cc72 … if (IsPrimitiveCNode(attach, prim::kPrimLoad) && IsPrimitiveCNode(attach, prim::kPrimMakeTuple)) { in HandleUpdateState()
84 return (user_node != update_state) && !IsPrimitiveCNode(user_node, prim::kPrimLoad); in HandleUpdateState()
95 … [](const AnfNodePtr &input) { return IsPrimitiveCNode(input, prim::kPrimLoad); }); in HasLoadInput()
126 if (IsPrimitiveCNode(input, prim::kPrimLoad)) { in FindLastUpdateState()
340 return IsPrimitiveCNode(user_node, prim::kPrimLoad); in FindLoadNodes()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dcombine_cast_fusion.cc40 if (input0->isa<Parameter>() || (IsPrimitiveCNode(input0, prim::kPrimLoad) && in GetDealList()
46 if (IsPrimitiveCNode(input0, prim::kPrimLoad)) { in GetDealList()
56 if (IsPrimitiveCNode(input0, prim::kPrimLoad)) { in GetDealList()
Dmatmul_biasadd_fusion.cc56 VectorRef load_w = VectorRef({prim::kPrimLoad, w_, u_}); in DefinePattern()
57 VectorRef load_bias = VectorRef({prim::kPrimLoad, bias_, u_}); in DefinePattern()
Dadam_fusion.cc91 VectorRef load_param = VectorRef({prim::kPrimLoad, param_, u_}); in DefinePattern()
92 VectorRef load_m = VectorRef({prim::kPrimLoad, m_, u_}); in DefinePattern()
93 VectorRef load_v = VectorRef({prim::kPrimLoad, v_, u_}); in DefinePattern()
Dadam_weight_decay_fusion.cc91 VectorRef load_param = VectorRef({prim::kPrimLoad, param_, u_}); in DefinePattern()
92 VectorRef load_m = VectorRef({prim::kPrimLoad, m_, u_}); in DefinePattern()
93 VectorRef load_v = VectorRef({prim::kPrimLoad, v_, u_}); in DefinePattern()
Dapply_momentum_weight_fusion.cc28 VectorRef load_para = VectorRef({prim::kPrimLoad, variable_, monad_}); in DefinePattern()
Dapply_momentum_weight_scale_fusion.cc87 VectorRef load_para = VectorRef({prim::kPrimLoad, variable_, monad_}); in DefinePattern()
/third_party/mindspore/mindspore/core/ir/
Danf.cc328 if (IsPrimitiveCNode(input, prim::kPrimLoad)) { in GetLoadInputs()
404 if (IsPrimitiveCNode(node, prim::kPrimDepend) || IsPrimitiveCNode(node, prim::kPrimLoad)) { in GetVirtualNodeTargetFromInputs()
531 IsPrimitiveCNode(node, prim::kPrimDepend) || IsPrimitiveCNode(node, prim::kPrimLoad) || in GetOriginNodeTarget()
537 if (IsPrimitiveCNode(node, prim::kPrimDepend) || IsPrimitiveCNode(node, prim::kPrimLoad) || in GetOriginNodeTarget()
/third_party/mindspore/mindspore/lite/tools/converter/import/
Dmindspore_importer.cc133 opt::CheckPrimitiveType(output_node, prim::kPrimLoad)) { in GetFuncGraphOutputName()
146 opt::CheckPrimitiveType(output_node, prim::kPrimLoad)) { in GetFuncGraphOutputName()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dauto_monad_eliminate.cc51 if (!IsPrimitiveCNode(cnode, prim::kPrimLoad)) { in GenerateLoadGroups()
261 if (!IsPrimitiveCNode(load_node, prim::kPrimLoad)) { in ReplaceUpdateStateForLoad()
Dirpass.h208 return IsPrimitiveCNode(node, prim::kPrimLoad); in IsLoad()
Dirpass.cc198 …inater_ = MakeSubstitution(std::make_shared<LoadEliminater>(), "load_eliminater", prim::kPrimLoad); in OptimizeIRPassLib()
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dlstm_adjust_pass.cc49 …iveType(weight_node, opt::kPrimIdentity) && !opt::CheckPrimitiveType(weight_node, prim::kPrimLoad); in GetRealLstmWeightNode()
60 !opt::CheckPrimitiveType(weight_node, prim::kPrimLoad); in GetRealLstmWeightNode()
Dparser_utils.cc159 …iveType(weight_node, opt::kPrimIdentity) && !opt::CheckPrimitiveType(weight_node, prim::kPrimLoad); in GetRealConvWeightNode()
169 !opt::CheckPrimitiveType(weight_node, prim::kPrimLoad); in GetRealConvWeightNode()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dpipeline.cc529 if (IsPrimitiveCNode(weight_node, prim::kPrimLoad)) { in GetWeightInfo()
557 if (x->isa<Parameter>() || IsPrimitiveCNode(x, prim::kPrimLoad)) { in GetWeightInfo()
566 …if (cnode == nullptr || IsPrimitiveCNode(cnode, prim::kPrimLoad) || cnode->size() != expect_input_… in GetWeightInfo()
571 …(!fakequant_min_node->isa<Parameter>() && !IsPrimitiveCNode(fakequant_min_node, prim::kPrimLoad)) { in GetWeightInfo()
575 if (IsPrimitiveCNode(fakequant_min_node, prim::kPrimLoad)) { in GetWeightInfo()
631 if (!weight_node->isa<Parameter>() && !IsPrimitiveCNode(weight_node, prim::kPrimLoad)) { in FetchInfoForQuantExport()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dsplit_n_optimizer.cc113 if (in_node_name == prim::kPrimDepend->name() || in_node_name == prim::kPrimLoad->name()) { in InputCheck()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Doptimize_assign.cc105 AnfNodePtrList load_inputs = {NewValueNode(prim::kPrimLoad), assign_to_node, update_state_node}; in KeepExecOrder()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Doptimize_dependence.cc55 AnfAlgo::GetCNodeName(cnode) != prim::kPrimLoad->name()) { in CheckIsolatedVirtualNode()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/pipeline_transformer/
Dpipeline_transformer.cc94 while (IsPrimitiveCNode(temp, prim::kPrimLoad) || IsPrimitiveCNode(temp, prim::kPrimCast)) { in NeedGrad()
378 if (IsPrimitiveCNode(node, prim::kPrimLoad) || IsPrimitiveCNode(node, prim::kPrimCast)) { in GetActualOpUsers()
721 IsPrimitiveCNode(node, prim::kPrimLoad)) { in ActualOp()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dconvert.cc1051 if ((name == prim::kPrimLoad->name()) || (name == prim::kPrimDepend->name()) || in IsControlEdgeNode()
1150 if (name == prim::kPrimLoad->name()) { in AutoMonadCollectInput()
1267 if (IsPrimitiveCNode(pred, prim::kPrimLoad)) { in GetRealInputNode()
1424 if (IsValueNode<Primitive>(node) || IsPrimitiveCNode(node, prim::kPrimLoad) || in Convert()
1453 if (IsPrimitiveCNode(item, prim::kPrimLoad)) { in ConvertMakeTuple()
/third_party/mindspore/tests/ut/cpp/ir/
Dmanager_test.cc635 auto x1 = fg->NewCNode({NewValueNode(prim::kPrimLoad), x, u}); in TEST_F()
693 auto x1 = fg->NewCNode({NewValueNode(prim::kPrimLoad), x, u}); in TEST_F()
/third_party/mindspore/mindspore/core/abstract/
Dprimitive_infer_map.cc171 {prim::kPrimLoad, {InferImplLoad, nullptr, true}}, in GetPrimitiveToEvalImplMap()

12