Skip to content

Commit

Permalink
disable unused layers
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Feb 15, 2022
1 parent 3879d37 commit 9df3159
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9df3159

Please sign in to comment.