[Mlir-commits] [mlir] [mlir][tosa] Add accumulator verifier for FP8 types for AvgPool2D (PR #134727)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Apr 8 10:49:55 PDT 2025
================
@@ -600,6 +600,11 @@ LogicalResult tosa::AvgPool2dOp::verify() {
if (inputETy.isF32() && !accType.isF32())
return emitOpError("accumulator type for f32 tensor is not f32");
+ if ((llvm::isa<Float8E5M2Type>(inputETy) ||
----------------
Jerry-Ge wrote:
sounds good, thanks for the review. i will then close this PR.
https://github.com/llvm/llvm-project/pull/134727
More information about the Mlir-commits
mailing list