Home
last modified time | relevance | path

Searched refs:SetAttrs (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/converter/import/
Dprimitive_adjust.cc220 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMapCommon()
236 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMapActivation()
258 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMapActivationGrad()
280 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMapReduce()
308 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMapConv2D()
361 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrPool()
397 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrPoolGrad()
423 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMapAdder()
454 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMapLayerNorm()
509 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrSlice()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/
Dlite_graph.cc100 op_ptr->SetAttrs(attrs); in Emit()
110 op_ptr->SetAttrs(attrs); in Op()
Dnode.h89 void SetAttrs(const DAttrs &attrs) { attrs_ = attrs; } in SetAttrs() function
/third_party/mindspore/mindspore/lite/tools/converter/acl/mapper/
Dstridedslice_mapper.cc39 dst_prim->SetAttrs(src_prim->attrs()); in Mapper()
Dconv2d_fusion_mapper.cc32 dst_prim->SetAttrs(src_prim->attrs()); in Mapper()
Dconv2d_transpose_fusion_mapper.cc42 dst_prim->SetAttrs(src_prim->attrs()); in Mapper()
Dmaxpool_fusion_mapper.cc47 dst_prim->SetAttrs(src_prim->attrs()); in Mapper()
Davgpool_fusion_mapper.cc52 dst_prim->SetAttrs(src_prim->attrs()); in Mapper()
Dactivation_mapper.cc60 dst_prim->SetAttrs(src_prim->attrs()); in Mapper()
Dpad_fusion_mapper.cc42 dst_prim->SetAttrs(src_prim->attrs()); in Mapper()
Dprimitive_mapper.cc163 dst_prim->SetAttrs(src_prim->attrs()); in MoveAttrMap()
/third_party/mindspore/tests/ut/cpp/transform/
Dop_adapter_test.cc83 prim->SetAttrs({
/third_party/mindspore/mindspore/core/ir/
Dprimitive.h68 Primitive &SetAttrs(const std::unordered_map<std::string, ValuePtr> &attrs) { in SetAttrs() function
/third_party/mindspore/tests/ut/cpp/operator/
Dops_test.cc372 prim.SetAttrs({ in TEST_F()
386 prim.SetAttrs({ in TEST_F()
/third_party/mindspore/mindspore/lite/tools/converter/
Dexport_model.cc135 prim->SetAttrs(origin_prim->attrs()); in ClonePrimitive()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dspecial_op_eliminate.h304 prim->SetAttrs(attrs); in operator()
343 prim->SetAttrs(attrs); in operator()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Drecompute.cc360 (void)new_prim->SetAttrs(prim->attrs()); in NewRecomputedNode()
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dprimitive_py.cc67 (void)Primitive::SetAttrs(adapter->attrs_); in PrimitivePy()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc77 prim->SetAttrs(attrs); in SetMiniStepOpDoMirrorLabel()
96 prim->SetAttrs(attrs); in SetAllReduceRecomputeFlag()
1750 (void)prim->SetAttrs(attrs_temp); in SetVirtualDatasetStrategy()
1784 (void)prim->SetAttrs(attrs_temp); in SetVirtualDatasetStrategy()
1853 (void)prim->SetAttrs(attrs); in GenerateBatchParallelStrategy()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Doperator_info.cc362 prim->SetAttrs(attrs); in AddCommOpFusionType()
380 prim->SetAttrs(attrs); in AddCommOpMeanFlag()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dpipeline_split_utils.cc514 (void)new_prim->SetAttrs(end_prim->attrs()); in LastStageEndNode()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc537 (void)to_primitive->SetAttrs(from_primitive->attrs()); in CopyNodeAttrs()