Skip to content
Discussion options

You must be logged in to vote

x.at[case1] does not return a subset of an array, it returns a helper that lets you generate a scatter operation (see the jnp.ndarray.at docs).

Perhaps what you want is func(x[case1])?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andreok
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