Home
last modified time | relevance | path

Searched refs:TraceCopy (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dpartial_eliminate.h249 TraceGuard guard(std::make_shared<TraceCopy>(anchor_fg_params[j]->debug_info())); in UnifyParameters()
257 TraceGuard guard(std::make_shared<TraceCopy>(extra_inputs[j]->debug_info())); in UnifyParameters()
273 TraceGuard guard(std::make_shared<TraceCopy>(extra_inputs[i]->debug_info())); in UnifyParameters()
349 TraceGuard guard1(std::make_shared<TraceCopy>(input0_cnode->debug_info())); in BuildNewSwitchNode()
359 TraceGuard guard2(std::make_shared<TraceCopy>(old_cnode->debug_info())); in BuildNewSwitchNode()
433 TraceGuard guard1(std::make_shared<TraceCopy>(make_tuple_cnode->debug_info())); in BuildNewSwitchLayerNode()
437 TraceGuard guard2(std::make_shared<TraceCopy>(switch_layer_cnode->debug_info())); in BuildNewSwitchLayerNode()
448 TraceGuard guard3(std::make_shared<TraceCopy>(old_cnode->debug_info())); in BuildNewSwitchLayerNode()
Dparameter_eliminate.h139 TraceGuard trace_guard(std::make_shared<TraceCopy>(caller->debug_info())); in EraseArgs()
Dspecial_op_eliminate.h705 TraceGuard guard(std::make_shared<TraceCopy>(node->debug_info())); in operator()
/third_party/mindspore/mindspore/core/utils/
Dtrace_info.h126 class TraceCopy : public TraceInfo {
128 TraceCopy() : TraceInfo(nullptr, "copy", "") {} in TraceCopy() function
129 explicit TraceCopy(const DebugInfoPtr &info) : TraceInfo(info, "copy", "") {} in TraceCopy() function
130 MS_DECLARE_PARENT(TraceCopy, TraceInfo);
131 ~TraceCopy() override = default;
132 …TraceInfoPtr clone() override { return std::make_shared<TraceCopy>(*shared_from_base<TraceCopy>())… in clone()
Dinfo.cc131 if (info->isa<TraceCopy>() && info->debug_info() != nullptr) { in unique_id_through_copy()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dgraph_transform.h72 …oner cloner({fg}, false, false, false, std::make_shared<TraceCopy>(), std::make_shared<TraceCopy>(… in TransformGraphParam()
/third_party/mindspore/mindspore/core/ir/
Dfunc_graph_cloner.cc290 TraceGuard guard(std::make_shared<TraceCopy>(node->debug_info())); in AddParameter()
696 …Cloner cloner({func_graph}, clone_value_nodes, true, true, std::make_shared<TraceCopy>(), nullptr); in BasicClone()
723 …std::make_shared<Cloner>(func_graphs, false, false, false, std::make_shared<TraceCopy>(), relation… in SpecializerClone()
742 TraceGuard trace_guard(std::make_shared<TraceCopy>(param->debug_info())); in TransformableClone()
Dfunc_graph_cloner.h49 const TraceInfoPtr &relation = std::make_shared<TraceCopy>(),
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Ddfunctor.h204 TraceGuard guard(std::make_shared<TraceCopy>(bprop_fg->debug_info())); in BpropToK()
Dkpynative.cc259 TraceGuard trace_guard(std::make_shared<TraceCopy>(cell_inputs[i]->debug_info())); in KPynativeCellImpl()
992 TraceGuard trace_guard(std::make_shared<TraceCopy>(weight->debug_info())); in SetSensAndWeights()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dcpu_session.cc70 TraceManager::DebugTrace(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameterFromParameter()
Dsession_basic.cc644 TraceGuard trace_guard(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameterFromParameter()
744 TraceGuard trace_guard(std::make_shared<TraceCopy>(cnode->debug_info())); in CreateNewCNode()
1054 TraceGuard trace_guard(std::make_shared<TraceCopy>(cnode->debug_info())); in CreateNewCNode()
1114 TraceGuard trace_guard(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameter()
1119 TraceGuard trace_guard(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameter()
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dquantize_util.cc585 Cloner cloner({func_graph}, true, true, true, std::make_shared<TraceCopy>(), nullptr); in CopyFuncGraph()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Daction.cc393 …r cloner = std::make_shared<Cloner>(func_graphs, false, false, true, std::make_shared<TraceCopy>(), in CombineLikeGraphs()