Skip to content

Problem using jnp.vectorize #6509

Answered by shoyer
jatentaki asked this question in Q&A
Discussion options

You must be logged in to vote

You're missing a comma in the signature string in vectorize. It should be signature='(a,a),(b)->(c)'.

With that change, your code seems to run correctly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jatentaki
Comment options

Answer selected by shoyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants