This commit adds the following checks to avg_pool2d and max_pool2d TOSA operations: - check kernel values are >= 1 - check stride values are >= 1 - check padding values are >= 0 - check padding values are less than kernel sizes - check output shape matches the expected output shape Signed-off-by: Luke Hutton <luke.hutton@arm.com>
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.