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
jax.signal.istft raises ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() when the window argument is set to a numpy array.
Description
jax.signal.istft
raisesValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
when thewindow
argument is set to a numpy array.Code to reproduce
Suggested fix
I don't have time to open a PR arm, but changing
jax/jax/_src/scipy/signal.py
Line 1150 in 2ebb756
to
should fix it.
System info (python version, jaxlib version, accelerator, etc.)
The text was updated successfully, but these errors were encountered: