Home
last modified time | relevance | path

Searched refs:kPrimReduceMean (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dbce_with_logits_loss_fusion.cc51 …reduce_inputs = {NewValueNode(std::make_shared<Primitive>(prim::kPrimReduceMean->name())), new_cno… in AddReduceNode()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Dbce_with_logits_loss_fission.cc53 …reduce_inputs = {NewValueNode(std::make_shared<Primitive>(prim::kPrimReduceMean->name())), new_cno… in AddReduceNode()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dconst_input_to_attr_registry.cc40 Register(prim::kPrimReduceMean->name(), {1}); in ConstInputToAttrInfoRegistry()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dreduce_eliminate.h46 …if (IsPrimitiveCNode(node, prim::kPrimReduceMean) || IsPrimitiveCNode(node, prim::kPrimReduceAll) … in operator()
Dbranch_culling.cc64 … {prim::kPrimReduceMean, {2}}, in InConvertWhiteList()
87 {prim::kPrimReduceSum, {2}}, {prim::kPrimReduceMean, {2}}, in InConvertWhiteList()
Dless_batch_normalization.cc161 …{prim::kPrimReduceMean, prim::kPrimRelu6, prim::kPrimTupleGetItem, prim::kPrimBatchNorm, prim::kPr…
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/
Dreduce_ops_declare.cc93 REG_ADPT_DESC(ReduceMeanD, prim::kPrimReduceMean->name(), ADPT_DESC(ReduceMeanD))
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dreduce_cpu_kernel.cc79 } else if (kernel_name_ == prim::kPrimReduceMean->name()) { in InitKernel()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dirpass.cc101 …{prim::kPrimReduceMean, prim::kPrimReduceAll, prim::kPrimReduceSum, prim::kPrimReduceMax, prim::kP… in OptimizeIRPassLib()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_expander.cc81 {kGPUDevice, OpLevel_1, prim::kPrimReduceMean}, in GetExpandOps()
Ddecrease_compute_precision.cc216 …std::vector<PrimitivePtr> cast_aware_list = {prim::kPrimReduceSum, prim::kPrimReduceMean, prim::kP… in IsCastUnAware()
/third_party/mindspore/mindspore/core/abstract/
Dprimitive_infer_map.cc222 {prim::kPrimReduceMean, {InferImplReduceFunc, nullptr, true}}, in GetPrimitiveToBackendEvalImplMap()
/third_party/mindspore/tests/ut/cpp/transform/
Dconvert_test.cc461 auto prim = prim::kPrimReduceMean; in TEST_F()
/third_party/mindspore/mindspore/ccsrc/transform/express_ir/
Donnx_exporter.cc782 auto name = prim::kPrimReduceMean->name(); in ExportPrimReduce()
1578 if (node->IsApply(prim::kPrimReduceMean) || node->IsApply(prim::kPrimReduceSum)) { in ExportCNode()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h472 inline const PrimitivePtr kPrimReduceMean = std::make_shared<Primitive>("ReduceMean"); variable