Floor division with numpy-style broadcasting. 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)
| 69 | |
| 70 | |
| 71 | def floor_divide(x1: Expr, x2: Expr) -> Expr: |
| 72 | """Floor division with numpy-style broadcasting. |
| 73 | |
| 74 | Parameters |
| 75 | ---------- |
| 76 | x1 : relax.Expr |
| 77 | The first input tensor. |
| 78 | x2 : relax.Expr |
| 79 | The second input tensor. |
| 80 | |
| 81 | Returns |
| 82 | ------- |
| 83 | result : relax.Expr |
| 84 | The computed result. |
| 85 | """ |
| 86 | return _ffi_api.floor_divide(x1, x2) # type: ignore |
| 87 | |
| 88 | |
| 89 | def log_add_exp(x1: Expr, x2: Expr) -> Expr: |
nothing calls this directly
no test coverage detected
searching dependent graphs…