Searched refs:inst_context_ (Results 1 – 4 of 4) sorted by relevance
27 std::shared_ptr<MsContext> MsContext::inst_context_ = nullptr; member in mindspore::MsContext105 if (inst_context_ == nullptr) { in GetInstance()108 device_type_seter_(inst_context_); in GetInstance()111 return inst_context_; in GetInstance()
185 static std::shared_ptr<MsContext> inst_context_; variable
39 std::shared_ptr<ParallelContext> ParallelContext::inst_context_ = nullptr; member in mindspore::parallel::ParallelContext42 if (inst_context_ == nullptr) { in GetInstance()43 inst_context_.reset(new (std::nothrow) ParallelContext()); in GetInstance()45 return inst_context_; in GetInstance()
144 static std::shared_ptr<ParallelContext> inst_context_; variable