!10133 [bugfix]:add ps cache status reset

From: @zyli2020
Reviewed-by: @limingqi107,@cristoval
Signed-off-by: @cristoval
This commit is contained in:
mindspore-ci-bot 2020-12-17 22:57:58 +08:00 committed by Gitee
commit 7697492fb2
1 changed files with 1 additions and 0 deletions

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 {