diff options
| author | Rob Suderman <suderman@google.com> | 2023-01-25 17:58:03 +0000 |
|---|---|---|
| committer | Robert Suderman <suderman@google.com> | 2023-01-25 18:51:12 +0000 |
| commit | b67b024d583d328420d7a46f0897e02cdd4ebd68 (patch) | |
| tree | f30ab424078efe34b4570f993fb54a701c98e3f4 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 6ec446ddcee33777a8420c227374f7b422a7df1b (diff) | |
[mlir][tosa] Update tosa.avg_pool2d for bit-exact TOSA behavior
The normalization component of average pool has a very specific
rounding behavior for compouting the division for floating
point values. Updated so that the bit-exact version is implemented.
Also includes a fix for computing the stride part of the average pool
operation.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D141339
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
