Specification specified the output type for quantized average pool should be
an i32. Only accumulator should be an i32, result type should match the input
type.
Caused in https://reviews.llvm.org/D111590
| Paths 
 |  Differential  D112484  
[mlir][tosa] Correct tosa.avg_pool2d for specification error ClosedPublic Authored by rsuderman on Oct 25 2021, 1:15 PM. 
Details Summary Specification specified the output type for quantized average pool should be Caused in https://reviews.llvm.org/D111590 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Oct 25 2021, 2:14 PM Comment Actions 
 done Closed by commit rG58901a5a295d: [mlir][tosa] Correct tosa.avg_pool2d for specification error (authored by Robert Suderman <suderman@google.com>, committed by rsuderman).  ·  Explain WhyOct 25 2021, 2:42 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 382100 mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
 mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
 mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
 mlir/test/Dialect/Tosa/ops.mlir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||