Apply jnp.take with a BCOO array? #20654
Unanswered
161siegels
asked this question in
Q&A
Replies: 1 comment
-
It looks like you're attempting to index a dense array with sparse indices. Under the assumption that a sparse array is just an array with the zeros not explicitly stored, then the output must be dense (becuse |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How would i apply jnp.take to a BCOO array? Currently it gives me the following error when i try to call sparse.sparsify(jnp.take)(X,Y):
NotImplementedError: sparse rule for lt is not implemented because it would result in dense output. If this is your intent, use sparse.todense() to convert your arguments to dense matrices.
X is a jnp.array and Y is a BCOO
Beta Was this translation helpful? Give feedback.
All reactions