Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
3k views

Handle varying shapes in jax numpy arrays (jit compatible)

Important note: I need everything to be jit compatible here, otherwise my problem is trivial :) I have a jax numpy array such as: a = jnp.array([1,5,3,4,5,6,7,2,9]) First I filter it considering a ...
Valentin Macé's user avatar