Skip to content

Commit

Permalink
Fix the wrong gemm_compatible()
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 29, 2019
1 parent b68345b commit 5eda6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dabnn/layers/BinConv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ bool BinConv::direct_conv_compatible() const {

bool BinConv::gemm_compatible() const {
#ifdef __aarch64__
return weight_mat->h * weight_mat->n * weight_mat->c % 2 == 0;
return weight_mat->h * weight_mat->w * weight_mat->c % 2 == 0;
#else
return false;
#endif
Expand Down

0 comments on commit 5eda6d2

Please sign in to comment.