Skip to content

Commit

Permalink
Remove unused variable vecVecStartIdx (pytorch#42257)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch#42257

Reviewed By: gchanan

Differential Revision: D23109328

Pulled By: ezyang

fbshipit-source-id: dacd438395fedd1050ad3ffb81327bbb746c776c
  • Loading branch information
xuhdev authored and facebook-github-bot committed Aug 17, 2020
1 parent 133e9f9 commit 1f6e6a1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,6 @@ void quantized_normalize_kernel(
auto dqXVec = qXVec.dequantize(x_fake_scale_vec, x_zp_vec,
x_fake_scale_zp_neg_premul_vec);
for (int dqXVecIdx = 0; dqXVecIdx < dqXVec.size(); dqXVecIdx++) {
int64_t vecVecStartIdx = vecStartIdx + dqXVecIdx * kFloatVLen;
dqXVec[dqXVecIdx] =
(dqXVec[dqXVecIdx] - layer_mean_div_scale_xVec) *
gamma_p_vec + beta_vec;
Expand Down

0 comments on commit 1f6e6a1

Please sign in to comment.