提交 b496da7f 编写于 作者: X xiexionghang

add sparse cache

上级 f5af6905
...@@ -64,7 +64,7 @@ int LearnerProcess::update_cache_model(uint64_t epoch_id, ModelSaveWay way) { ...@@ -64,7 +64,7 @@ int LearnerProcess::update_cache_model(uint64_t epoch_id, ModelSaveWay way) {
if (line_len <= 1) { if (line_len <= 1) {
continue; continue;
} }
char* data_ptr; char* data_ptr = NULL;
cache_dict.append(strtoul(buffer, &data_ptr, 10)); cache_dict.append(strtoul(buffer, &data_ptr, 10));
} }
if (buffer != nullptr) { if (buffer != nullptr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册