You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Difference is also large in the numba backend. This would allow us to simplify the codebase quite a lot by getting rid of boolean indices in our graph representation. There's only one case where boolean indices are not equivalent to .nonzero(), which is when the boolean variable is scalar, but we don't support that explicitly anyway.
The text was updated successfully, but these errors were encountered:
Description
It seems to be faster, both in the C and Numba backends, and regardless of whether the idx is constant or symbolic:
Difference is also large in the numba backend. This would allow us to simplify the codebase quite a lot by getting rid of boolean indices in our graph representation. There's only one case where boolean indices are not equivalent to
.nonzero()
, which is when the boolean variable is scalar, but we don't support that explicitly anyway.The text was updated successfully, but these errors were encountered: