Browse Source

!761 Delete useless log of context

Merge pull request !761 from Simson/push-to-opensource
tags/v0.3.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
92bb8a7c77
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      mindspore/ccsrc/utils/context/ms_context.cc

+ 0
- 1
mindspore/ccsrc/utils/context/ms_context.cc View File

@@ -78,7 +78,6 @@ MsContext::MsContext(const std::string &policy, const std::string &target) {
graph_memory_max_size_ = "0"; graph_memory_max_size_ = "0";
variable_memory_max_size_ = "0"; variable_memory_max_size_ = "0";
enable_loop_sink_ = target == kAscendDevice || target == kDavinciDevice; enable_loop_sink_ = target == kAscendDevice || target == kDavinciDevice;
MS_LOG(DEBUG) << "Create context with backend policy:" << policy << ", device target:" << target << ".";
} }


std::shared_ptr<MsContext> MsContext::GetInstance() { std::shared_ptr<MsContext> MsContext::GetInstance() {


Loading…
Cancel
Save