Home
last modified time | relevance | path

Searched refs:abstract_tuple (Results 1 – 23 of 23) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dlamb_next_right_rule.cc80 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(new_node_abstract_list); in Process() local
81 MS_EXCEPTION_IF_NULL(abstract_tuple); in Process()
82 new_node->set_abstract(abstract_tuple); in Process()
Dadd_input_to_output.cc73 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in AddOutputs() local
74 cnode->set_abstract(abstract_tuple); in AddOutputs()
Dfused_batch_norm_fusion.cc105 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingReduce() local
106 bn_training_reduce->set_abstract(abstract_tuple); in CreateBNTrainingReduce()
161 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingUpdate() local
162 bn_training_update->set_abstract(abstract_tuple); in CreateBNTrainingUpdate()
Dlamb_next_mv_rule.cc84 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(new_abstracts); in CreateLambNextMVNode() local
85 MS_EXCEPTION_IF_NULL(abstract_tuple); in CreateLambNextMVNode()
86 lamb_next_mv_rule->set_abstract(abstract_tuple); in CreateLambNextMVNode()
Dlamb_next_mv_with_decay_rule.cc41 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(new_node_list); in GetLambNextMVWithDecayOutput() local
42 MS_EXCEPTION_IF_NULL(abstract_tuple); in GetLambNextMVWithDecayOutput()
43 new_node->set_abstract(abstract_tuple); in GetLambNextMVWithDecayOutput()
Dadam_apply_one_fusion.cc273 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(new_node_abstract_list); in Process() local
274 new_node->set_abstract(abstract_tuple); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dcombine_momentum_fusion.cc96 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in Run() local
97 MS_EXCEPTION_IF_NULL(abstract_tuple); in Run()
98 combine_mom->set_abstract(abstract_tuple); in Run()
Dcombine_cast_fusion.cc113 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in Run() local
114 MS_EXCEPTION_IF_NULL(abstract_tuple); in Run()
115 cast_all->set_abstract(abstract_tuple); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Dbatch_norm_bert_fission.cc80 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingReduce() local
81 bn_training_reduce->set_abstract(abstract_tuple); in CreateBNTrainingReduce()
121 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingUpdateV2() local
122 bn_training_update_v2->set_abstract(abstract_tuple); in CreateBNTrainingUpdateV2()
Dsingle_batch_norm_fission.cc46 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingReduce() local
47 bn_training_reduce->set_abstract(abstract_tuple); in CreateBNTrainingReduce()
Dbatch_norm_grad_infer_fission.cc139 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingUpdateGrad() local
140 bn_training_update_grad->set_abstract(abstract_tuple); in CreateBNTrainingUpdateGrad()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dreplace_node_by_proxy.cc80 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in Run() local
81 MS_EXCEPTION_IF_NULL(abstract_tuple); in Run()
82 proxy_node->set_abstract(abstract_tuple); in Run()
/third_party/mindspore/mindspore/core/ops/
Dneighborexchange.cc113 auto abstract_tuple = input_args[0]->cast<abstract::AbstractTuplePtr>(); in Check() local
114 MS_EXCEPTION_IF_NULL(abstract_tuple); in Check()
115 auto abstract_element = abstract_tuple->elements(); in Check()
/third_party/mindspore/mindspore/ccsrc/ps/
Dutil.cc191 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in DoFusion() local
192 MS_EXCEPTION_IF_NULL(abstract_tuple); in DoFusion()
193 fused_cnode->set_abstract(abstract_tuple); in DoFusion()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Doptimizer_unify_output.cc52 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in ProcessOutput() local
53 cnode_ptr->set_abstract(abstract_tuple); in ProcessOutput()
/third_party/mindspore/mindspore/lite/tools/converter/acl/common/
Dutils.cc74 auto abstract_tuple = in GetShapeVectorFromCNode() local
76 auto abstract_list = abstract_tuple->elements(); in GetShapeVectorFromCNode()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dinfershape_pass.cc368 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in SetSubGraphAbstract() local
369 CHECK_NULL_RETURN(abstract_tuple); in SetSubGraphAbstract()
370 cnode->set_abstract(abstract_tuple); in SetSubGraphAbstract()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dkpynative.cc664 abstract::AbstractTuplePtr abstract_tuple = nullptr; in BackPropagate() local
669 abstract_tuple = bprop_app_abstract->cast<abstract::AbstractTuplePtr>(); in BackPropagate()
670 if (abstract_tuple->size() != (cnode_primal->size() - 1)) { in BackPropagate()
671 MS_LOG(EXCEPTION) << "AbstractTuple size: " << abstract_tuple->ToString() in BackPropagate()
692 if (abstract_tuple != nullptr) { in BackPropagate()
694 din->set_abstract((*abstract_tuple)[i - 1]); in BackPropagate()
/third_party/mindspore/mindspore/lite/tools/optimizer/format/
Dto_format_base.cc83 auto abstract_tuple = utils::cast<abstract::AbstractTuplePtr>(abstract_base); in ModifyCNode() local
84 abstracts = abstract_tuple->elements(); in ModifyCNode()
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dgllo_utils.cc604 … auto abstract_tuple = utils::cast<abstract::AbstractTuplePtr>(get_item_input_cnode->abstract()); in GetCNodeInputAbstract() local
605 auto abstract_list = abstract_tuple->elements(); in GetCNodeInputAbstract()
1200 auto abstract_tuple = abstract_base->cast<abstract::AbstractTuplePtr>(); in GetDataTypeFromAnfNode() local
1201 if (abstract_tuple->elements().empty()) { in GetDataTypeFromAnfNode()
1205 abstract_base = abstract_tuple->elements().front(); in GetDataTypeFromAnfNode()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_model_parser.cc794 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in ConvertOutputTensor() local
795 MSLITE_CHECK_PTR(abstract_tuple); in ConvertOutputTensor()
796 dst_cnode->set_abstract(abstract_tuple); in ConvertOutputTensor()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_lstm_cell_fusion.cc703 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in SetAbstractTuple() local
704 if (abstract_tuple == nullptr) { in SetAbstractTuple()
708 cnode->set_abstract(abstract_tuple); in SetAbstractTuple()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc1233 auto abstract_tuple = std::make_shared<AbstractTuple>(abstract_list); in SetOutputTypeAndDetailShape() local
1234 node->set_abstract(abstract_tuple); in SetOutputTypeAndDetailShape()
1287 auto abstract_tuple = std::make_shared<AbstractTuple>(abstract_list); in SetOutputInferTypeAndShape() local
1288 node->set_abstract(abstract_tuple); in SetOutputInferTypeAndShape()
2246 auto abstract_tuple = real_abs->cast<abstract::AbstractTuplePtr>(); in InferShape() local
2247 MS_EXCEPTION_IF_NULL(abstract_tuple); in InferShape()
2248 auto tuple_elements = abstract_tuple->elements()[tuple_get_item_index]; in InferShape()