Home
last modified time | relevance | path

Searched refs:done_count_ (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/
Ddense_grad_accum_kernel.h83 if (accum_count_ > done_count_) { in Launch()
84 MS_LOG(ERROR) << "accum_count_ should not be greater than done_count_ " << done_count_; in Launch()
87 if (accum_count_ == done_count_) { in Launch()
89 grad_addr[i] /= done_count_; in Launch()
97 bool IsAggregationDone() { return accum_count_ >= done_count_; } in IsAggregationDone()
Daggregation_kernel.h38 AggregationKernel() : name_(""), done_(false), done_count_(0), accum_count_(0) {} in AggregationKernel()
53 void set_done_count(size_t count) { done_count_ = count; } in set_done_count()
90 size_t done_count_; variable
Dfed_avg_kernel.h112 …DistributedCountService::GetInstance().RegisterCounter(name_, done_count_, {first_cnt_handler_, la… in InitKernel()
177 …DistributedCountService::GetInstance().RegisterCounter(name_, done_count_, {first_cnt_handler_, la… in ReInitForScaling()
182 done_count_ = aggr_threshold; in ReInitForUpdatingHyperParams()
183 if (!DistributedCountService::GetInstance().ReInitCounter(name_, done_count_)) { in ReInitForUpdatingHyperParams()