diff --git a/third_party/onnx b/third_party/onnx index 91dbfff..20835f8 160000 --- a/third_party/onnx +++ b/third_party/onnx @@ -1 +1 @@ -Subproject commit 91dbfff2da092e4c5f2aff5d54377f7a4ad12108 +Subproject commit 20835f8f238a232de2f1540fc109de62759e2495 diff --git a/tools/onnx2bnn/OnnxConverter.cpp b/tools/onnx2bnn/OnnxConverter.cpp index 5a31535..5da62e3 100644 --- a/tools/onnx2bnn/OnnxConverter.cpp +++ b/tools/onnx2bnn/OnnxConverter.cpp @@ -193,6 +193,7 @@ std::vector OnnxConverter::Convert( // for details. vector 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");