提交 030c7e7e 编写于 作者: X xjqbest 提交者: dongdaxiang

fix FillSparseValue error

test=develop
上级 88880d9b
...@@ -122,7 +122,7 @@ void DownpourWorker::FillSparseValue(size_t table_idx) { ...@@ -122,7 +122,7 @@ void DownpourWorker::FillSparseValue(size_t table_idx) {
auto& fea_value = feature_values_[table_id]; auto& fea_value = feature_values_[table_id];
auto fea_idx = 0u; auto fea_idx = 0u;
std::vector<float> init_value(table.emb_dim()); std::vector<float> init_value(table.fea_dim());
for (size_t i = 0; i < sparse_key_names_[table_id].size(); ++i) { for (size_t i = 0; i < sparse_key_names_[table_id].size(); ++i) {
std::string slot_name = sparse_key_names_[table_id][i]; std::string slot_name = sparse_key_names_[table_id][i];
std::string emb_slot_name = sparse_value_names_[table_id][i]; std::string emb_slot_name = sparse_value_names_[table_id][i];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册