-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jnp.broadcast_to is incompatible with masking #2769
Comments
It looks like may be more directly an incompatibility between |
(ping @juliuskunze who wrote #2017) I think that's correct, as it happens @mattjj messaged me yesterday about fixing up and re-merging that pr, so we may be able to fix this issue quite quickly. |
Once #2800 is merged, I can prepare another PR that should fix this issue + masking for most other missing primitives. The code is currently parked in https://github.com/JuliusKunze/jax/tree/masking-pcnn and needs some heavy updating to be compatible with the current jax version. |
jax.mask is long gone. Closing as stale. |
I want to call some vectorized functions from a masked function.
These functions commute with masking:
f(x)[mask] == f(x[mask])
wheremask = np.s_[:d0, :d1, ..., :dn]
But, I don't think JAX needs to know this.
Anyways,
vectorize
crashes when broadcasting a masked array:I get this error:
The text was updated successfully, but these errors were encountered: