Home
last modified time | relevance | path

Searched refs:ScopePtr (Results 1 – 20 of 20) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dscope.h26 using ScopePtr = std::shared_ptr<Scope>; variable
27 extern const ScopePtr kDefaultScope;
49 void EnterScope(const ScopePtr &scope);
50 void LeaveScope(const ScopePtr &scope) noexcept;
51 ScopePtr GetCurrentScope();
56 std::stack<ScopePtr> scope_stack_;
62 explicit ScopeGuard(const ScopePtr &scope) { in ScopeGuard()
69 ScopePtr scope_;
Dscope.cc19 const ScopePtr kDefaultScope = std::make_shared<Scope>("Default");
21 void ScopeManager::EnterScope(const ScopePtr &scope) { in EnterScope()
27 void ScopeManager::LeaveScope(const ScopePtr &scope) noexcept { in LeaveScope()
32 ScopePtr ScopeManager::GetCurrentScope() { in GetCurrentScope()
Dfunc_graph_cloner.h66 void set_scope(const ScopePtr &scope) { scope_ = scope; } in set_scope()
67 const ScopePtr scope() const { return scope_; } in scope()
112 ScopePtr scope_;
123 const AnfNodePtrList &func_graph_args, const ScopePtr &scope = nullptr);
Dfunc_graph_cloner.cc81ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneParameter()
93ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneCNode()
103ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneValueNode()
115ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneValueNode()
701 const AnfNodePtrList &func_graph_args, const ScopePtr &scope) { in InlineClone()
Danf.h124 ScopePtr scope() { return scope_; } in scope()
125 void set_scope(const ScopePtr &scope) { scope_ = scope; } in set_scope()
226 ScopePtr scope_;
Dmanager.h303 …void MoveAllCNodeDropGraph(const FuncGraphPtr &source, const FuncGraphPtr &target, const ScopePtr
Dmanager.cc652 const ScopePtr &scope) { in MoveAllCNodeDropGraph()
/third_party/mindspore/mindspore/core/abstract/
Dabstract_function.h154 … const AnfNodePtr &tracking_id = nullptr, const ScopePtr &scope = kDefaultScope)
163 ScopePtr GetScope() { return scope_; } in GetScope()
180 ScopePtr scope_;
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dgenerate_graph.h61 ScopePtr scope_;
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Devaluator.h258 MetaFuncGraphEvaluator(const MetaFuncGraphPtr &meta_func_graph, const ScopePtr &scope) in MetaFuncGraphEvaluator()
274 ScopePtr scope_;
Dprim.cc90 ScopePtr scope = kDefaultScope; in Run()
192 ScopePtr scope = kDefaultScope; in Run()
275 ScopePtr scope = kDefaultScope; in Run()
1003 ScopePtr scope = kDefaultScope; in StaticGetter()
1417 ScopePtr scope = out_conf->node()->scope(); in HandleDoSignature()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dshape_ops_splitter.cc45 ScopePtr scope = (anf_node->scope() != kDefaultScope) ? anf_node->scope() : kDefaultScope; in CloneCNode()
Dgraph_kernel_splitter.cc92 ScopePtr scope = (orig_node->scope() != kDefaultScope) ? orig_node->scope() : kDefaultScope; in NewRecomputeNode()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dbranch_culling.h135 ScopePtr scope = node->cast<CNodePtr>()->scope(); in operator()
Denv_item_eliminate.h290 ScopePtr scope = node->cast<CNodePtr>()->scope(); in operator()
Dspecial_op_eliminate.h706 ScopePtr scope = node->scope(); in operator()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Ddropout_do_mask_info.cc284 ScopePtr scope = node->scope(); in ReplaceOneOp()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.h245 ScopePtr GetScopeForParseFunction();
Dparse.cc249 ScopePtr Parser::GetScopeForParseFunction() { in GetScopeForParseFunction()
250 ScopePtr scope = ScopeManager::GetInstance().GetCurrentScope(); in GetScopeForParseFunction()
262 ScopePtr scope = GetScopeForParseFunction(); in ParseFunction()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc203 ScopePtr scope = node->scope(); in InsertNode()
237 ScopePtr scope = pre_node->scope(); in ReplaceNode()
298 ScopePtr scope = node->scope(); in ForwardCommunication()
662 ScopePtr scope = next_node->scope(); in SplitTensorList()
745 ScopePtr scope = node->scope(); in StepReplaceOp()