Skip to content

Commit

Permalink
fix feature_value.h (PaddlePaddle#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmxdream authored Oct 31, 2022
1 parent cff4bea commit 09c9abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/framework/fleet/heter_ps/feature_value.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class CommonFeatureValueAccessor {
tmp_embedx_sgd_dim = mf_dim * 2 + 2;
} else if (mf_optimizer_type_ == 4) { //shared_adam
tmp_embedx_sgd_dim = 4;
} else if (mf_optimizer_type_ = 2) { // std adagrad
} else if (mf_optimizer_type_ == 2) { // std adagrad
tmp_embedx_sgd_dim = mf_dim;
}
return (tmp_embedx_sgd_dim + mf_dim) * sizeof(float);
Expand Down

0 comments on commit 09c9abc

Please sign in to comment.