forked from mindspore-Ecosystem/mindspore
!10133 [bugfix]:add ps cache status reset
From: @zyli2020 Reviewed-by: @limingqi107,@cristoval Signed-off-by: @cristoval
This commit is contained in:
commit
7697492fb2
|
@ -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…
Reference in New Issue