Home
last modified time | relevance | path

Searched refs:kPrimAssign (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dadam_apply_one_fusion.cc111 VectorRef assign0 = VectorRef({prim::kPrimAssign, input_vars_[kIndex3], sub0}); in DefinePattern()
113 VectorRef assign1 = VectorRef({prim::kPrimAssign, input_vars_[kIndex2], add0}); in DefinePattern()
115 VectorRef assign2 = VectorRef({prim::kPrimAssign, input_vars_[kIndex1], add1}); in DefinePattern()
133 VectorRef assign0 = VectorRef({prim::kPrimAssign, input_vars_[kIndex3], sub0}); in DefinePattern()
135 VectorRef assign1 = VectorRef({prim::kPrimAssign, input_vars_[kIndex2], add0}); in DefinePattern()
137 VectorRef assign2 = VectorRef({prim::kPrimAssign, input_vars_[kIndex1], add1}); in DefinePattern()
155 VectorRef assign0 = VectorRef({prim::kPrimAssign, input_vars_[kIndex3], sub0}); in DefinePattern()
157 VectorRef assign1 = VectorRef({prim::kPrimAssign, input_vars_[kIndex2], add0}); in DefinePattern()
159 VectorRef assign2 = VectorRef({prim::kPrimAssign, input_vars_[kIndex1], add1}); in DefinePattern()
177 VectorRef assign0 = VectorRef({prim::kPrimAssign, input_vars_[kIndex3], sub0}); in DefinePattern()
[all …]
Dadam_apply_one_with_decay_rule.cc164 VectorRef assign0 = VectorRef({prim::kPrimAssign, input3_, sub0}); in DefinePattern()
166 VectorRef assign1 = VectorRef({prim::kPrimAssign, input2_, add0}); in DefinePattern()
168 VectorRef assign2 = VectorRef({prim::kPrimAssign, input1_, add1}); in DefinePattern()
189 VectorRef assign0 = VectorRef({prim::kPrimAssign, input3_, sub0}); in DefinePattern()
191 VectorRef assign1 = VectorRef({prim::kPrimAssign, input2_, add0}); in DefinePattern()
193 VectorRef assign2 = VectorRef({prim::kPrimAssign, input1_, add1}); in DefinePattern()
214 VectorRef assign0 = VectorRef({prim::kPrimAssign, input3_, sub0}); in DefinePattern()
216 VectorRef assign1 = VectorRef({prim::kPrimAssign, input2_, add0}); in DefinePattern()
218 VectorRef assign2 = VectorRef({prim::kPrimAssign, input1_, add1}); in DefinePattern()
239 VectorRef assign0 = VectorRef({prim::kPrimAssign, input3_, sub0}); in DefinePattern()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dupdatestate_eliminate.cc400 if (IsPrimitiveCNode(a1, prim::kPrimAssign)) { in EliminateUpdateStateBetweenAssigns()
437 if (IsPrimitiveCNode(attach, prim::kPrimAssign)) { in EliminateLoadBeforeAssigns()
487 if (IsPrimitiveCNode(a1, prim::kPrimAssign) && IsPrimitiveCNode(a2, prim::kPrimAssign)) { in EliminateUpdateStateBetweenAssignMakeTuple()
546 if (IsPrimitiveCNode(a2, prim::kPrimAssign) && IsPrimitiveCNode(a3, prim::kPrimAssign)) { in EliminateUpdateStateBetweenMakeTupleAssign()
566 if (IsPrimitiveCNode(a1, prim::kPrimAssign)) { in EliminateUpdateStateBetweenMakeTupleAssign()
606 if (IsPrimitiveCNode(attach, prim::kPrimAssign)) { in EliminateUpdateStateForAssign()
615 if (IsPrimitiveCNode(u_attach, prim::kPrimAssign)) { in EliminateUpdateStateForAssign()
738 …if (IsPrimitiveCNode(attach, prim::kPrimAssign) || IsPrimitiveCNode(attach, prim::kPrimMakeTuple))… in operator ()()
Dbranch_culling.cc71 {prim::kPrimAssign, {1}}, in InConvertWhiteList()
91 {prim::kPrimAssign, {1}}, {prim::kPrimAssignAdd, {1}}, in InConvertWhiteList()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dadam_fusion.cc109 VectorRef assign_param = VectorRef({prim::kPrimAssign, param_, next_param, next_state}); in DefinePattern()
113 VectorRef assign_m = VectorRef({prim::kPrimAssign, m_, next_m, next_state}); in DefinePattern()
117 VectorRef assign_v = VectorRef({prim::kPrimAssign, v_, next_v, next_state}); in DefinePattern()
Dadam_weight_decay_fusion.cc111 VectorRef assign_param = VectorRef({prim::kPrimAssign, param_, next_param, next_state}); in DefinePattern()
115 VectorRef assign_m = VectorRef({prim::kPrimAssign, m_, next_m, next_state}); in DefinePattern()
119 VectorRef assign_v = VectorRef({prim::kPrimAssign, v_, next_v, next_state}); in DefinePattern()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Doptimize_assign.cc60 if (IsPrimitiveCNode(out, prim::kPrimAssign)) { in FindAssignAndOutputVal()
167 if (!AnfAlgo::CheckPrimitiveType(n, prim::kPrimAssign)) continue; in ReplaceAssignByInplaceAssignInGraphkernel()
Dsplit_umonad.cc38 bool CanSplit(const AnfNodePtr &node) { return IsPrimitiveCNode(node, prim::kPrimAssign); } in CanSplit()
Dgraph_kernel_cluster.cc68 {kGPUDevice, OpLevel_0, prim::kPrimAssign}, in GetClusterableOpList()
409 …if (AnfAlgo::IsGraphKernel(node) || IsPrimitiveCNode(node, prim::kPrimAssign) || !IsClusterableOp(… in Process()
Deliminate_redundant_output.cc101 std::vector<PrimitivePtr> side_effect_nodes = {prim::kPrimAssign, prim::kPrimInplaceAssign}; in IsSideEffectNode()
/third_party/mindspore/mindspore/core/ops/
Dassign.cc69 REGISTER_PRIMITIVE_EVAL_IMPL(Assign, prim::kPrimAssign, InferImplAssign, nullptr, true);
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_auto_monad.cc868 node_name == prim::kPrimAssign->name()) { in InsertStackOps()
877 node_name == prim::kPrimAssign->name()) { in InsertStackOps()
890 if (AnfAlgo::CheckPrimitiveType(node, prim::kPrimAssign)) { in FindInputNode()
1231 auto assign_prim = std::make_shared<Primitive>(prim::kPrimAssign->name()); in Assign()
1656 if (IsPrimitiveCNode(node, prim::kPrimAssign) && in RemoveSameInputsAssigns()
1813 if (!IsPrimitiveEquals(prim, prim::kPrimAssign)) { in IsOptimizableAssign()
Dgpu_session.cc294 return output_cnode != nullptr && IsPrimitiveCNode(output_cnode, prim::kPrimAssign) && in UpdatedByAssign()
Dkernel_graph.cc38 const std::set<std::string> kOpAssignKernelNameList = {prim::kPrimAssign->name(), prim::kPrimAssign…
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/
Delewise_calculation_ops_declare.cc26 REG_ADPT_DESC(Assign, prim::kPrimAssign->name(), ADPT_DESC(Assign))
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/cache_embedding/
Dcache_embedding.cc559 auto assign_prim = prim::kPrimAssign; in CreateAssign()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h539 inline const PrimitivePtr kPrimAssign = std::make_shared<Primitive>("Assign"); variable