diff options
author | fabrizio-indirli <fabrizio.indirli@arm.com> | 2023-10-13 16:42:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 08:42:39 -0700 |
commit | 2c9ddfc7852ed88dd88bb38e9518404a623c70b5 (patch) | |
tree | 2b430db56e0f03de5216041a4ac9f53bc84f3fdd /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 74c5e474043daa7900686d0a210b8e03cebf9472 (diff) | |
download | llvm-2c9ddfc7852ed88dd88bb38e9518404a623c70b5.zip llvm-2c9ddfc7852ed88dd88bb38e9518404a623c70b5.tar.gz llvm-2c9ddfc7852ed88dd88bb38e9518404a623c70b5.tar.bz2 |
[mlir][Tosa] fix fp16/bf16 support for AvgPool2d (#68718)
Currently, the AvgPool2d operation in the TOSA MLIR dialect does not
accept half-precision Fp16 and Bf16 tensors, conversely to what stated
in the [TOSA
specification](https://www.mlplatform.org/tosa/tosa_spec.html#_avg_pool2d).
This issue was previously raised: #63424 here on Github and it is due to
a bug in the AvgPool2d verifier.
This patch fixes the AvgPool2d verifier to accept fp16 & bf16 datatype
for input/output tensors and accumulator, and it adds related LIT test
cases in Tosa/ops.mlir.
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions