Skip to content

Commit

Permalink
fix layer innerproduct when build with requant option on
Browse files Browse the repository at this point in the history
  • Loading branch information
yx9527 committed Mar 18, 2020
1 parent 548cba8 commit 0355771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/innerproduct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ int InnerProduct::forward_int8(const Mat& bottom_blob, Mat& top_blob, const Opti
quantize_float32_to_int8(bottom_blob, bottom_blob_tm, bottom_blob_int8_scale, opt_g);
}

top_blob.create(num_output, elemsize, opt.blob_allocator);
top_blob.create(num_output, 4u, opt.blob_allocator);
if (top_blob.empty())
return -100;

Expand Down

0 comments on commit 0355771

Please sign in to comment.