Skip to content

Commit

Permalink
Merge pull request #64 from JDAI-CV/gemm
Browse files Browse the repository at this point in the history
Support gemm in last layer
  • Loading branch information
daquexian authored Oct 23, 2019
2 parents d1c6ad5 + dd4c7f8 commit 7b07333
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools/onnx2bnn/OnnxConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ std::vector<std::string> OnnxConverter::Convert(
// for details.
vector<string> optimizers{"eliminate_nop_pad",
"extract_constant_to_initializer",
"dabnn_convert_gemm_with_reshape_or_flatten_to_conv_and_reshape",
"dabnn_bconv_strict"};
if (level == Level::kModerate || level == Level::kAggressive) {
optimizers.push_back("dabnn_bconv_moderate");
Expand Down

0 comments on commit 7b07333

Please sign in to comment.