Browse Source

!10133 [bugfix]:add ps cache status reset

From: @zyli2020
Reviewed-by: @limingqi107,@cristoval
Signed-off-by: @cristoval
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
7697492fb2
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