Replies: 2 comments 6 replies
-
I strongly recommend you use the The XLA scatter op is notoriously confusing, but for most use cases you should use the NumPy-style indexed update syntax extension that JAX offers. Does that work for you? |
Beta Was this translation helpful? Give feedback.
-
Although I am still trying to understand @soraros's reply (the nested Clone the repo and cd to its root. In the REPL:
Break on scatter_add and you will see its arguments
Return value
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm struggling to understand the arguments to jax.lax.scatter_add. I've read the docs but it doesn't help much.
I'd appreciate a very simple example of the jax.lax.scatter_add function.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions