Broadcasted element-wise test for (lhs != rhs). Parameters ---------- x1 : relax.Expr The first input tensor. x2 : relax.Expr The second input tensor. Returns ------- result : relax.Expr The computed result.
(x1: Expr, x2: Expr)
| 297 | |
| 298 | |
| 299 | def not_equal(x1: Expr, x2: Expr) -> Expr: |
| 300 | """Broadcasted element-wise test for (lhs != rhs). |
| 301 | |
| 302 | Parameters |
| 303 | ---------- |
| 304 | x1 : relax.Expr |
| 305 | The first input tensor. |
| 306 | x2 : relax.Expr |
| 307 | The second input tensor. |
| 308 | |
| 309 | Returns |
| 310 | ------- |
| 311 | result : relax.Expr |
| 312 | The computed result. |
| 313 | """ |
| 314 | return _ffi_api.not_equal(x1, x2) # type: ignore |
| 315 | |
| 316 | |
| 317 | def maximum(x1: Expr, x2: Expr) -> Expr: |
nothing calls this directly
no test coverage detected
searching dependent graphs…