check.expect.close.signed
← check dialect
Requires independently typed signed integer values to be within an exact distance.
Operation contract
| Property |
Value |
| Semantic phase |
— |
| Traits |
UnknownEffects, HasAnyAncestor(check.case, check.compare) |
Signature
| Kind |
Name |
Type |
Cardinality |
Description |
| Operand |
actual |
any |
required |
— |
| Operand |
expected |
any |
required |
— |
| Attribute |
max_distance |
i64 |
required |
— |
Examples
check.expect.close.signed actual(%actual) expected(%expected) max_distance(2) : tensor<[%m]xi16>, tensor<[%m]xi32>