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