Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Feb 7, 2025
1 parent 10528d2 commit 0dbeda4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/layer/x86/convolution_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1085,13 +1085,15 @@ int Convolution_x86::forward_int8_x86(const Mat& bottom_blob, Mat& top_blob, con
}
else
{
#if __AVX__
// TODO implement winograd and packed int8 avx pack8 output
if (top_blob_int32.elempack == 4 && top_blob_int32.c % 2 == 0)
{
Mat tmp;
convert_packing(top_blob_int32, tmp, 8, opt);
top_blob_int32 = tmp;
}
#endif // __AVX__
}
}
#endif
Expand Down

0 comments on commit 0dbeda4

Please sign in to comment.