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
The fix is easy enough, we just have to switch from the scipy implementation to the numpy implementation. We can follow the JAX implementation here.
An alternative would be to keep our implementation, but BlockWise it so that the ndim > 2 case just broadcasts over the additional dimensions. It would make us equivalent to jax.vmap(jnp.kron)(A, B) by default.