Browse Source

[bugfix]:add ps cache status reset

tags/v1.1.0
lizhenyu 5 years ago
parent
commit
ecb64b8e14
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ccsrc/ps/ps_context.cc

+ 1
- 0
mindspore/ccsrc/ps/ps_context.cc View File

@@ -62,6 +62,7 @@ void PSContext::Reset() {
is_worker_ = false;
is_pserver_ = false;
is_sched_ = false;
set_cache_enable(false);
}

std::string PSContext::ms_role() const {


Loading…
Cancel
Save