Home
last modified time | relevance | path

Searched refs:iteration_ (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/fl/server/
Dserver.cc198 iteration_ = &Iteration::GetInstance(); in InitIteration()
199 MS_EXCEPTION_IF_NULL(iteration_); in InitIteration()
210 iteration_->AddRound(round); in InitIteration()
238 …TimeOutCb time_out_cb = std::bind(&Iteration::NotifyNext, iteration_, std::placeholders::_1, std::… in InitIteration()
240 std::bind(&Iteration::NotifyNext, iteration_, std::placeholders::_1, std::placeholders::_2); in InitIteration()
241 iteration_->InitRounds(communicators_with_worker_, time_out_cb, finish_iter_cb); in InitIteration()
294 MS_EXCEPTION_IF_NULL(iteration_); in RegisterCommCallbacks()
302 iteration_->RegisterMessageCallback(tcp_comm); in RegisterCommCallbacks()
303 iteration_->RegisterEventCallback(server_node_); in RegisterCommCallbacks()
385 MS_EXCEPTION_IF_NULL(iteration_); in RegisterRoundKernel()
[all …]
Dserver.h75 iteration_(nullptr),
186 Iteration *iteration_; variable
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Ddump_json_parser.cc364 iteration_ = content; in ParseIteration()
365 if (iteration_.empty() || (!std::all_of(iteration_.begin(), iteration_.end(), [](char c) { in ParseIteration()
367 }) && iteration_ != "all")) { in ParseIteration()
368 …XCEPTION) << "iteration only supports digits, {'-', '|'}, or just \"all\" but got: " << iteration_; in ParseIteration()
403 if (iteration_ == "all") { in IsDumpIter()
408 std::size_t end = iteration_.find(vertical_bar); in IsDumpIter()
410 std::string temp = iteration_.substr(start, end - start); in IsDumpIter()
416 end = iteration_.find(vertical_bar, start); in IsDumpIter()
418 std::string temp = iteration_.substr(start); in IsDumpIter()
482 cur_config.append(iteration_); in JsonConfigToString()
Ddump_json_parser.h52 std::string iteration_string() const { return iteration_; } in iteration_string()
79 std::string iteration_; variable
/third_party/mindspore/mindspore/ccsrc/debug/
Dtensor_data.h170 this->iteration_ = obj.iteration_; in TensorData()
228 unsigned int GetIteration() const { return this->iteration_; } in GetIteration()
230 void SetIteration(unsigned int iteration) { this->iteration_ = iteration; } in SetIteration()
432 unsigned int iteration_{0};
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/fl/
Dget_model_kernel.h144 iteration_ = fl::worker::FLWorker::GetInstance().fl_iteration_num(); in BuildGetModelReq()
145 req_get_model_builder.add_iteration(SizeToInt(iteration_)); in BuildGetModelReq()
156 uint64_t iteration_; variable
Dupdate_model_kernel.h140 iteration_ = fl::worker::FLWorker::GetInstance().fl_iteration_num(); in BuildUpdateModelReq()
141 req_update_model_builder.add_iteration(SizeToInt(iteration_)); in BuildUpdateModelReq()
166 uint64_t iteration_; variable