[Mlir-commits] [mlir] [MLIR][TOSA] Fix validation for unsigned integer types in RescaleOp (PR #137838)

Luke Hutton llvmlistbot at llvm.org
Fri May 2 04:10:20 PDT 2025


================
@@ -622,6 +622,28 @@ func.func @test_rescale(%arg0: tensor<13x21x3x!quant.uniform<u8:f32, 0.015655439
   return %0 : tensor<13x21x3x!quant.uniform<i8:f32, 0.015655439347028732:-1>>
----------------
lhutton1 wrote:

A little unrelated to this PR - I feel this test case should be considered invalid since `input_unsigned=false`. This is something we should check in the verifier.

https://github.com/llvm/llvm-project/pull/137838


More information about the Mlir-commits mailing list