Home
last modified time | relevance | path

Searched refs:kDefaultScope (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dscope.cc19 const ScopePtr kDefaultScope = std::make_shared<Scope>("Default"); variable
22 if (scope != kDefaultScope) { in EnterScope()
28 if (scope != kDefaultScope && !scope_stack_.empty()) { in LeaveScope()
35 return kDefaultScope; in GetCurrentScope()
Dscope.h27 extern const ScopePtr kDefaultScope;
Dfunc_graph_cloner.cc43 scope_ = kDefaultScope; in Cloner()
81 …ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneParameter()
93 …ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneCNode()
103 …ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneValueNode()
115 …ScopePtr scope = ((node->scope() == kDefaultScope) && (this->scope() != nullptr)) ? this->scope() … in CloneValueNode()
Dmanager.cc668 if (node->scope() == kDefaultScope) { in MoveAllCNodeDropGraph()
/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/
Dreshape_eliminate.h98 if (node->scope() != kDefaultScope) { in operator()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_adjust.cc900 npu_alloc_cnode->set_scope(kDefaultScope); in CreateNPUGetFloatStatus()
923 npu_alloc_cnode->set_scope(kDefaultScope); in CreateNPUClearStatus()
946 npu_alloc_cnode->set_scope(kDefaultScope); in CreateNPUAllocStatus()
969 assign_add_cnode->set_scope(kDefaultScope); in CreateAssignAdd()
1018 assign_cnode->set_scope(kDefaultScope); in CreateAssign()
/third_party/mindspore/mindspore/core/abstract/
Dabstract_function.h154 … const AnfNodePtr &tracking_id = nullptr, const ScopePtr &scope = kDefaultScope)
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
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()