Home
last modified time | relevance | path

Searched refs:fbs_feature_map (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/fl/
Dfused_pull_weight_kernel.h178 auto fbs_feature_map = pull_weight_rsp->feature_map(); in ParseFeatureMap() local
179 if (fbs_feature_map->size() != weight_full_names_.size()) { in ParseFeatureMap()
181 << fbs_feature_map->size() << " weights."; in ParseFeatureMap()
185 for (size_t i = 0; i < fbs_feature_map->size(); i++) { in ParseFeatureMap()
186 std::string weight_full_name = fbs_feature_map->Get(i)->weight_fullname()->str(); in ParseFeatureMap()
187 float *weight_data = const_cast<float *>(fbs_feature_map->Get(i)->data()->data()); in ParseFeatureMap()
188 size_t weight_size = fbs_feature_map->Get(i)->data()->size() * sizeof(float); in ParseFeatureMap()
Dupdate_model_kernel.h132 …auto fbs_feature_map = schema::CreateFeatureMap(*(fbb.get()), fbs_weight_fullname, fbs_weight_data… in BuildUpdateModelReq() local
133 fbs_feature_maps.push_back(fbs_feature_map); in BuildUpdateModelReq()
Dfused_push_weight_kernel.h153 …auto fbs_feature_map = schema::CreateFeatureMap(*(fbb.get()), fbs_weight_fullname, fbs_weight_data… in BuildPushWeightReq() local
154 fbs_feature_maps.push_back(fbs_feature_map); in BuildPushWeightReq()
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/round/
Dpush_weight_kernel.cc125 auto fbs_feature_map = push_weight_req->feature_map(); in ParseFeatureMap() local
126 MS_ERROR_IF_NULL_W_RET_VAL(fbs_feature_map, upload_feature_map); in ParseFeatureMap()
127 for (uint32_t i = 0; i < fbs_feature_map->size(); i++) { in ParseFeatureMap()
128 std::string weight_full_name = fbs_feature_map->Get(i)->weight_fullname()->str(); in ParseFeatureMap()
129 float *weight_data = const_cast<float *>(fbs_feature_map->Get(i)->data()->data()); in ParseFeatureMap()
130 size_t weight_size = fbs_feature_map->Get(i)->data()->size() * sizeof(float); in ParseFeatureMap()
Dupdate_model_kernel.cc232 auto fbs_feature_map = update_model_req->feature_map(); in ParseFeatureMap() local
233 MS_ERROR_IF_NULL_W_RET_VAL(fbs_feature_map, feature_map); in ParseFeatureMap()
234 for (uint32_t i = 0; i < fbs_feature_map->size(); i++) { in ParseFeatureMap()
235 std::string weight_full_name = fbs_feature_map->Get(i)->weight_fullname()->str(); in ParseFeatureMap()
236 float *weight_data = const_cast<float *>(fbs_feature_map->Get(i)->data()->data()); in ParseFeatureMap()
237 size_t weight_size = fbs_feature_map->Get(i)->data()->size() * sizeof(float); in ParseFeatureMap()
Dpull_weight_kernel.cc131 …auto fbs_feature_map = schema::CreateFeatureMap(*(fbb.get()), fbs_weight_fullname, fbs_weight_data… in BuildPullWeightRsp() local
132 fbs_feature_maps.push_back(fbs_feature_map); in BuildPullWeightRsp()
Dget_model_kernel.cc145 …auto fbs_feature_map = schema::CreateFeatureMap(*(fbb.get()), fbs_weight_fullname, fbs_weight_data… in BuildGetModelRsp() local
146 fbs_feature_maps.push_back(fbs_feature_map); in BuildGetModelRsp()
Dstart_fl_job_kernel.cc254 …auto fbs_feature_map = schema::CreateFeatureMap(*(fbb.get()), fbs_weight_fullname, fbs_weight_data… in BuildStartFLJobRsp() local
255 fbs_feature_maps.push_back(fbs_feature_map); in BuildStartFLJobRsp()