google / google/XNNPACK

Support int8 / qs8 `AVERAGE_POOL_2D`

Open
#3,040 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.5k
Forks
560
Avg merge
1d 6h
Merged PRs (30d)
163

Description

Average pooling is used in many neural networks so it would be great if XNNPACK would support a `int8` / `qs8` version of this operation as well.

Currently `int8` max pooling is already supported, but only a [`uint8` version of average pooling](https://github.com/google/XNNPACK/blob/db977bf482436fadddfcb1096329761cc634c8ee/src/operators/average-pooling-nhwc.c#L45) seems to be implemented. It would be great be able to run int8 average pooling via XNNPACK as well given that it is the new default quantization in TFLite.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.