makes more sense now

This commit is contained in:
Philippe Tillet
2019-07-03 20:45:03 -07:00
parent bd1040510f
commit 88ebdddf3d
2 changed files with 7 additions and 7 deletions

View File

@@ -88,7 +88,7 @@ void shift::build_deltas() {
}
if(ty_ == WGRAD){
for(unsigned c = 0; c < C_; c++)
h_deltas_[c] = shift_h_[c]*ld_b_[1] + shift_w_[c]*ld_b_[2];
h_deltas_[c] = -shift_h_[c]*ld_b_[1] + -shift_w_[c]*ld_b_[2];
}
}