Skip to content

Commit

Permalink
fix #2961 (#3095)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored Jul 20, 2021
1 parent 1ed6c30 commit 2c4ae09
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/layer/arm/innerproduct_arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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)
Expand Down

0 comments on commit 2c4ae09

Please sign in to comment.