Skip to content

Commit

Permalink
Removed redundant hash of out_shape in algoreg key. (#8122)
Browse files Browse the repository at this point in the history
  • Loading branch information
DickJC123 authored and piiswrong committed Oct 2, 2017
1 parent 283378a commit 44d72e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/operator/cudnn_algoreg-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ class CuDNNAlgoReg {
ret = dmlc::HashCombine(ret, key.data_shape);
ret = dmlc::HashCombine(ret, key.weight_shape);
ret = dmlc::HashCombine(ret, key.out_shape);
for (const auto& i : key.out_shape) ret = dmlc::HashCombine(ret, i);
ret = dmlc::HashCombine(ret, static_cast<int>(key.cudnn_data_type));
ret = dmlc::HashCombine(ret, static_cast<int>(key.cudnn_forward_compute_type));
ret = dmlc::HashCombine(ret, static_cast<int>(key.cudnn_backward_compute_type));
Expand Down

0 comments on commit 44d72e7

Please sign in to comment.