[all-commits] [llvm/llvm-project] c44c90: [mlir][tosa] Add error if verification to pooling ...
Luke Hutton via All-commits
all-commits at lists.llvm.org
Wed Mar 12 10:48:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c44c9051747eda8a62c720202b16d858e7dc7b3d
https://github.com/llvm/llvm-project/commit/c44c9051747eda8a62c720202b16d858e7dc7b3d
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2025-03-12 (Wed, 12 Mar 2025)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/invalid.mlir
M mlir/test/Dialect/Tosa/level_check.mlir
M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
Log Message:
-----------
[mlir][tosa] Add error if verification to pooling operators (#130052)
This commit adds the following checks to avg_pool2d and max_pool2d TOSA
operations:
- check kernel values are >= 1
- check stride values are >= 1
- check padding values are >= 0
- check padding values are less than kernel sizes
- check output shape matches the expected output shape
Signed-off-by: Luke Hutton <luke.hutton at arm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list