Skip to content
Unverified Commit dde7b80e authored by fabrizio-indirli's avatar fabrizio-indirli Committed by GitHub
Browse files

[mlir][Tosa] fix fp16/bf16 support for Clamp min/max attributes (#69192)



In TOSA MLIR dialect, fix the definition of the Clamp op to
accept fp16 & bf16 datatype for the min_fp and max_fp attributes.
Add ClampOp verifier to check attributes types compatibility.
Add related test cases in Tosa/ops.mlir.

Signed-off-by: default avatarFabrizio Indirli <Fabrizio.Indirli@arm.com>
parent 2e4161df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment