Browse Source

Fix codex warning in ms_context.cc

tags/v0.5.0-beta
seatea 5 years ago
parent
commit
f815efc9fc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ccsrc/utils/context/ms_context.cc

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

@@ -80,6 +80,7 @@ MsContext::MsContext(const std::string &policy, const std::string &target) {
enable_loop_sink_ = target == kAscendDevice || target == kDavinciDevice;
profiling_mode_ = false;
profiling_options_ = "training_trace";
check_bprop_flag_ = false;
}

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


Loading…
Cancel
Save