Skip to content

Commit

Permalink
Add the missing require_align=False for trans_weight_mat
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 29, 2019
1 parent 56a3847 commit b68345b
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 @@ -46,7 +46,7 @@ BinConv::BinConv(NetCP net, const std::string &name, css input, css weight,
const int k = weight_mat->h * weight_mat->w * weight_mat->c;
transposed_weight_mat =
std::make_shared<Mat>(weight_mat->n, weight_mat->h, weight_mat->w,
weight_mat->elem_c, DataType::Bit);
weight_mat->elem_c, DataType::Bit, false);
auto *trans_data_ptr =
static_cast<uint64_t *>(transposed_weight_mat->data);
auto *data_ptr = static_cast<uint64_t *>(weight_mat->data);
Expand Down

0 comments on commit b68345b

Please sign in to comment.