(signed_comparison: bool, a: Node, b: Node)
| 363 | } |
| 364 | |
| 365 | fn preprocess_inputs(signed_comparison: bool, a: Node, b: Node) -> Result<(Node, Node)> { |
| 366 | let (a, b) = expand_to_same_dims(a, b)?; |
| 367 | let a = preprocess_input(signed_comparison, a)?; |
| 368 | let b = preprocess_input(signed_comparison, b)?; |
| 369 | Ok((a, b)) |
| 370 | } |
| 371 | |
| 372 | /// This function validates if the `arguments_types` are suitable for the |
| 373 | /// intended signed custom operation. E.g. there should be at least `2` bits |
no test coverage detected