fix fleet code style

test=develop
revert-16555-model_data_cryption_link_all_lib
dongdaxiang 6 years ago
parent a53c8cd5a7
commit 718ea6dbd5

@ -121,13 +121,11 @@ void FleetWrapper::GatherServers(const std::vector<uint64_t>& host_sign_list,
#endif
}
void FleetWrapper::GatherClients(
const std::vector<uint64_t>& host_sign_list) {
void FleetWrapper::GatherClients(const std::vector<uint64_t>& host_sign_list) {
#ifdef PADDLE_WITH_PSLIB
VLOG(3) << "Going to gather client ips";
size_t len = host_sign_list.size();
pslib_ptr_->gather_clients(const_cast<uint64_t*>(host_sign_list.data()),
len);
pslib_ptr_->gather_clients(const_cast<uint64_t*>(host_sign_list.data()), len);
#endif
}

Loading…
Cancel
Save