From 9df31599b074a607f7ab79d80cea9d29d47cee5c Mon Sep 17 00:00:00 2001 From: nihui Date: Tue, 15 Feb 2022 23:11:40 +0800 Subject: [PATCH] disable unused layers --- src/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 055440a..7ce7bf4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -186,6 +186,12 @@ if(NOT USE_SYSTEM_NCNN) option(WITH_LAYER_gru "" OFF) option(WITH_LAYER_multiheadattention "" OFF) option(WITH_LAYER_gelu "" OFF) + option(WITH_LAYER_convolution1d "" OFF) + option(WITH_LAYER_pooling1d "" OFF) + option(WITH_LAYER_convolutiondepthwise1d "" OFF) + option(WITH_LAYER_convolution3d "" OFF) + option(WITH_LAYER_convolutiondepthwise3d "" OFF) + option(WITH_LAYER_pooling3d "" OFF) add_subdirectory(ncnn) endif()