Tests are integrated in CMSIS-DSP test framework. Reference code is based upon CMSIS-NN original average pooling and it is not based upon TF Lite.