Home
last modified time | relevance | path

Searched refs:ps_enabled_ (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/ps/
Dps_context.cc37 ps_enabled_ = enabled; in SetPSEnable()
38 if (ps_enabled_) { in SetPSEnable()
80 if ((server_mode_ == kServerModeFL || server_mode_ == kServerModeHybrid) && ps_enabled_) { in is_ps_mode()
83 return ps_enabled_; in is_ps_mode()
87 ps_enabled_ = false; in Reset()
100 if ((server_mode_ == kServerModeFL || server_mode_ == kServerModeHybrid) && ps_enabled_) { in ms_role()
115 if ((server_mode_ == kServerModeFL || server_mode_ == kServerModeHybrid) && ps_enabled_) { in is_worker()
122 if ((server_mode_ == kServerModeFL || server_mode_ == kServerModeHybrid) && ps_enabled_) { in is_server()
129 if ((server_mode_ == kServerModeFL || server_mode_ == kServerModeHybrid) && ps_enabled_) { in is_scheduler()
Dps_context.h190 : ps_enabled_(false), in PSContext()
229 bool ps_enabled_; variable