[Mlir-commits] [mlir] [mlir][tosa] Convert RESCALE op multiplier and shift from attributes to inputs (PR #129720)

Peng Sun llvmlistbot at llvm.org
Thu Mar 6 14:25:02 PST 2025


================
@@ -2675,6 +2674,139 @@ LogicalResult TransposeConv2DOp::verify() {
   return success();
 }
 
+LogicalResult RescaleOp::verify() {
+  auto inputType = llvm::dyn_cast<ShapedType>(getInput().getType());
+  if (!inputType || !inputType.hasRank()) {
----------------
psunn wrote:

Done

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


More information about the Mlir-commits mailing list