/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | add_input_to_output.cc | 44 AbstractBasePtrList abstract_list; in AddOutputs() local 51 …:copy(origin_abstract_list.begin(), origin_abstract_list.end(), std::back_inserter(abstract_list)); in AddOutputs() 53 abstract_list.emplace_back(origin_abstract); in AddOutputs() 65 abstract_list.emplace_back(node_to_output->abstract()); in AddOutputs() 73 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in AddOutputs()
|
D | fused_batch_norm_fusion.cc | 104 AbstractBasePtrList abstract_list{data_input1->abstract(), data_input2->abstract()}; in CreateBNTrainingReduce() local 105 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingReduce() 128 … std::vector<AbstractBasePtr> *abstract_list) const { in GetBNTrainingUpdateAbstractList() 131 MS_EXCEPTION_IF_NULL(abstract_list); in GetBNTrainingUpdateAbstractList() 142 …*abstract_list = {bn_abstract_tuple->elements()[kIndex0], variable_input0->abstract(), variable_in… in GetBNTrainingUpdateAbstractList() 159 AbstractBasePtrList abstract_list; in CreateBNTrainingUpdate() local 160 GetBNTrainingUpdateAbstractList(equiv, bn, &abstract_list); in CreateBNTrainingUpdate() 161 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingUpdate()
|
D | fused_batch_norm_fusion.h | 54 std::vector<AbstractBasePtr> *abstract_list) const;
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/ |
D | combine_momentum_fusion.cc | 88 AbstractBasePtrList abstract_list; in Run() local 92 abstract_list.push_back(cnode->abstract()); in Run() 96 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in Run()
|
D | combine_cast_fusion.cc | 105 AbstractBasePtrList abstract_list; in Run() local 109 abstract_list.push_back(cnode->abstract()); in Run() 113 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in Run()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/ |
D | batch_norm_bert_fission.cc | 79 AbstractBasePtrList abstract_list{bn_input1->abstract(), bn_input2->abstract()}; in CreateBNTrainingReduce() local 80 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingReduce() 118 std::vector<AbstractBasePtr> abstract_list{bn_abstract_tuple->elements()[kIndex0], in CreateBNTrainingUpdateV2() local 121 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingUpdateV2()
|
D | single_batch_norm_fission.cc | 45 AbstractBasePtrList abstract_list{bn_input1->abstract(), bn_input1->abstract()}; in CreateBNTrainingReduce() local 46 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingReduce()
|
D | batch_norm_grad_infer_fission.cc | 137 std::vector<AbstractBasePtr> abstract_list{bn_grad_abstract_tuple->elements()[kIndex1], in CreateBNTrainingUpdateGrad() local 139 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in CreateBNTrainingUpdateGrad()
|
/third_party/mindspore/mindspore/core/ops/ |
D | primitive_c.cc | 29 AbstractBasePtr PrimitiveC::Infer(const AbstractBasePtrList &abstract_list) { in Infer() argument 36 return infer_function(nullptr, shared_from_base<Primitive>(), abstract_list); in Infer()
|
D | primitive_c.h | 44 AbstractBasePtr Infer(const AbstractBasePtrList &abstract_list);
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | replace_node_by_proxy.cc | 76 AbstractBasePtrList abstract_list; in Run() local 79 abstract_list.push_back(cnode->abstract()); in Run() 80 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in Run()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/ |
D | optimizer_unify_output.cc | 48 std::vector<AbstractBasePtr> abstract_list; in ProcessOutput() local 50 abstract_list.push_back(abstract->Clone()); in ProcessOutput() 52 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in ProcessOutput()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/ |
D | insert_cast.cc | 44 AbstractBasePtrList abstract_list; in InsertCastForMultipleOutput() local 76 abstract_list.emplace_back(replace_node->abstract()); in InsertCastForMultipleOutput() 81 make_tuple->set_abstract(std::make_shared<abstract::AbstractTuple>(abstract_list)); in InsertCastForMultipleOutput()
|
D | deal_ref_and_split_unsupported_transdata.cc | 185 AbstractBasePtrList abstract_list; in DealRefForMultipleOutput() local 196 abstract_list.push_back(final_node->abstract()); in DealRefForMultipleOutput() 202 make_tuple->set_abstract(std::make_shared<abstract::AbstractTuple>(abstract_list)); in DealRefForMultipleOutput()
|
/third_party/mindspore/mindspore/lite/tools/converter/acl/common/ |
D | utils.cc | 76 auto abstract_list = abstract_tuple->elements(); in GetShapeVectorFromCNode() local 77 if (abstract_list.size() <= idx) { in GetShapeVectorFromCNode() 81 cnode_abstract = abstract_list[idx]; in GetShapeVectorFromCNode()
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/ |
D | functionalize_while.cc | 198 AbstractBasePtrList abstract_list; in IdentifyWhileNodeOutput() local 199 abstract_list.resize(output_exit_nodes_.size()); in IdentifyWhileNodeOutput() 200 std::transform(output_exit_nodes_.begin(), output_exit_nodes_.end(), abstract_list.begin(), in IdentifyWhileNodeOutput() 202 while_node_->set_abstract(std::make_shared<abstract::AbstractTuple>(abstract_list)); in IdentifyWhileNodeOutput() 220 AbstractBasePtrList abstract_list; in UpdateExitNodeUser() local 226 abstract_list.emplace_back(abstract); in UpdateExitNodeUser()
|
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/ |
D | infershape_pass.cc | 339 AbstractBasePtrList abstract_list; in SetSubGraphAbstract() local 344 abstract_list.emplace_back(abstract_base->Clone()); in SetSubGraphAbstract() 368 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in SetSubGraphAbstract() 372 if (abstract_list.size() != 1) { in SetSubGraphAbstract() 375 cnode->set_abstract(abstract_list.front()); in SetSubGraphAbstract()
|
D | decrease_transpose_algo.cc | 587 AbstractBasePtrList abstract_list; in SetSubGraphAbstract() local 592 abstract_list.emplace_back(abstract_base->Clone()); in SetSubGraphAbstract() 616 cnode->set_abstract(std::make_shared<abstract::AbstractTuple>(abstract_list)); in SetSubGraphAbstract() 618 if (abstract_list.size() != 1) { in SetSubGraphAbstract() 621 cnode->set_abstract(abstract_list.front()); in SetSubGraphAbstract()
|
D | node_infershape.cc | 502 AbstractBasePtrList abstract_list; in SetCNodeAbstract() local 519 abstract_list.emplace_back(new_abstract); in SetCNodeAbstract() 521 auto new_abstract_list = std::make_shared<abstract::AbstractTuple>(abstract_list); in SetCNodeAbstract()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | eliminate_redundant_output.cc | 231 AbstractBasePtrList abstract_list; in ReplaceMakeTuple() local 239 abstract_list.push_back(old_maketuple->input(i + 1)->abstract()); in ReplaceMakeTuple() 253 make_tuple->set_abstract(std::make_shared<abstract::AbstractTuple>(abstract_list)); in ReplaceMakeTuple()
|
D | decrease_transfer_precision.cc | 211 AbstractBasePtrList abstract_list; in Process_Father() local 213 (void)abstract_list.emplace_back(tuple_output->input(i)->abstract()); in Process_Father() 215 tuple_output->set_abstract(std::make_shared<abstract::AbstractTuple>(abstract_list)); in Process_Father()
|
/third_party/mindspore/mindspore/ccsrc/ps/ |
D | util.cc | 185 AbstractBasePtrList abstract_list; in DoFusion() local 189 abstract_list.push_back(cnode->abstract()); in DoFusion() 191 auto abstract_tuple = std::make_shared<abstract::AbstractTuple>(abstract_list); in DoFusion()
|
/third_party/mindspore/mindspore/lite/tools/converter/acl/ |
D | acl_pass.cc | 329 AbstractBasePtrList abstract_list; in SetMultiOutputs() local 336 abstract_list.emplace_back(abstract_tensor); in SetMultiOutputs() 338 new_cnode->set_abstract(std::make_shared<abstract::AbstractTuple>(abstract_list)); in SetMultiOutputs()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | clean.cc | 84 …std::vector<AbstractBasePtr> abstract_list{abs_sparse->indices(), abs_sparse->values(), abs_sparse… in AdaptAbs() local 85 return std::make_shared<AbstractTuple>(abstract_list); in AdaptAbs() 90 std::vector<AbstractBasePtr> abstract_list{abs_row_tensor->indices(), abs_row_tensor->values(), in AdaptAbs() local 92 return std::make_shared<AbstractTuple>(abstract_list); in AdaptAbs()
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/ |
D | caffe_model_parser.cc | 581 AbstractBasePtrList abstract_list; in ConvertTop() local 588 abstract_list.emplace_back(abstract); in ConvertTop() 604 auto abstract = std::make_shared<abstract::AbstractTuple>(abstract_list); in ConvertTop()
|