diff --git a/src/layer/arm/innerproduct_arm.cpp b/src/layer/arm/innerproduct_arm.cpp index b0c7a58e0ff1..3d5093050d34 100644 --- a/src/layer/arm/innerproduct_arm.cpp +++ b/src/layer/arm/innerproduct_arm.cpp @@ -44,8 +44,6 @@ InnerProduct_arm::InnerProduct_arm() int InnerProduct_arm::create_pipeline(const Option& opt) { -#if __ARM_NEON - if (opt.use_packing_layout || opt.use_int8_inference) { flatten = ncnn::create_layer(ncnn::LayerType::Flatten); @@ -55,7 +53,6 @@ int InnerProduct_arm::create_pipeline(const Option& opt) flatten->create_pipeline(opt); } -#endif // __ARM_NEON #if NCNN_INT8 if (opt.use_int8_inference && weight_data.elemsize == (size_t)1u)