(n_dims: core.constexpr, j: core.constexpr)
| 105 | |
| 106 | @triton.jit |
| 107 | def _indicator(n_dims: core.constexpr, j: core.constexpr): |
| 108 | ar = core.arange(0, 2) |
| 109 | ar = core.reshape(ar, [1] * (n_dims - j - 1) + [2] + [1] * j) |
| 110 | return ar |
no outgoing calls
no test coverage detected