Home
last modified time | relevance | path

Searched refs:update_model_ratio (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/tests/st/fl/cross_silo_lenet/
Drun_cross_silo_lenet_server.py50 update_model_ratio = args.update_model_ratio variable
82 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
Dtest_cross_silo_lenet.py62 update_model_ratio = args.update_model_ratio variable
85 "update_model_ratio": update_model_ratio,
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/
Drun_cross_silo_fasterrcnn_server.py52 update_model_ratio = args.update_model_ratio variable
86 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
Dtest_fl_fasterrcnn.py51 update_model_ratio = config.update_model_ratio variable
76 "update_model_ratio": update_model_ratio,
/third_party/mindspore/tests/st/fl/cross_silo_femnist/
Drun_cross_silo_femnist_server.py51 update_model_ratio = args.update_model_ratio variable
84 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
Dtest_cross_silo_femnist.py79 update_model_ratio = args.update_model_ratio variable
104 "update_model_ratio": update_model_ratio,
/third_party/mindspore/tests/st/fl/albert/
Drun_hybrid_train_server.py63 update_model_ratio = args.update_model_ratio variable
104 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
Dcloud_train.py93 update_model_ratio = args.update_model_ratio
125 "update_model_ratio": update_model_ratio,
/third_party/mindspore/tests/st/fl/hybrid_lenet/
Drun_hybrid_train_server.py63 update_model_ratio = args.update_model_ratio variable
105 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
Drun_server_disaster_recovery.py71 update_model_ratio = args.update_model_ratio variable
124 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
Dtest_hybrid_train_lenet.py74 update_model_ratio = args.update_model_ratio variable
106 "update_model_ratio": update_model_ratio,
/third_party/mindspore/tests/st/fl/mobile/
Drun_mobile_server.py64 update_model_ratio = args.update_model_ratio variable
106 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
Dtest_mobile_lenet.py71 update_model_ratio = args.update_model_ratio variable
102 "update_model_ratio": update_model_ratio,
Drun_server_disaster_recovery.py69 update_model_ratio = args.update_model_ratio variable
120 cmd_server += " --update_model_ratio=" + str(update_model_ratio)
/third_party/mindspore/mindspore/ccsrc/ps/
Dps_context.cc333 void PSContext::set_update_model_ratio(float update_model_ratio) { in set_update_model_ratio() argument
334 if (update_model_ratio > 1.0) { in set_update_model_ratio()
338 update_model_ratio_ = update_model_ratio; in set_update_model_ratio()
341 float PSContext::update_model_ratio() const { return update_model_ratio_; } in update_model_ratio() function in mindspore::ps::PSContext
Dps_context.h129 void set_update_model_ratio(float update_model_ratio);
130 float update_model_ratio() const;
/third_party/mindspore/mindspore/ccsrc/fl/server/
Diteration.cc661 …SContext::instance()->start_fl_job_threshold() * ps::PSContext::instance()->update_model_ratio())); in SummarizeIteration()
722 float update_model_ratio = ps::PSContext::instance()->update_model_ratio(); in ReInitRounds() local
723 …date_model_threshold = static_cast<size_t>(std::ceil(start_fl_job_threshold * update_model_ratio)); in ReInitRounds()
Dserver.cc584 response["update_model_ratio"] = ps::PSContext::instance()->update_model_ratio(); in HandleQueryInstanceRequest()
/third_party/mindspore/mindspore/parallel/
D_ps_context.py95 "update_model_ratio": ps_context().update_model_ratio,
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Daction.cc831 float update_model_ratio = ps::PSContext::instance()->update_model_ratio(); in StartServerAction() local
832 …date_model_threshold = static_cast<size_t>(std::ceil(start_fl_job_threshold * update_model_ratio)); in StartServerAction()
Dinit.cc385 ….def("update_model_ratio", &PSContext::update_model_ratio, "Get threshold count ratio for updateMo… in PYBIND11_MODULE()