Browse Source

fix #2961 (#3095)

tags/20210720
nihui GitHub 5 years ago
parent
commit
2c4ae09604
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      src/layer/arm/innerproduct_arm.cpp

+ 0
- 3
src/layer/arm/innerproduct_arm.cpp View File

@@ -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)


Loading…
Cancel
Save