diff --git a/mindspore/ccsrc/utils/context/ms_context.cc b/mindspore/ccsrc/utils/context/ms_context.cc index 0644acca07..a726d79cd5 100644 --- a/mindspore/ccsrc/utils/context/ms_context.cc +++ b/mindspore/ccsrc/utils/context/ms_context.cc @@ -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::GetInstance() {