Replies: 1 comment 4 replies
-
The The To be honest, I would not suggest going down the path of trying to reverse-engineer Can you say more about what your ultimate goal is here? There may be a better path forward than trying to parse the meaning of |
Beta Was this translation helpful? Give feedback.
4 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.
-
Hi,
I'm trying to write an analogous ONNX computation for a jax function. One crucial step is computing
jnp.bincount
for a set of integer assignments, and to understand the underlying computation I am looking at the jaxpr:Some pieces of the jaxpr make sense, but steps
l
andp
seem bizarre. What is the motivation for adding3
toe
and how does this help in thescatter-add
step? Themode
is set toFILL_OR_DROP
which probably responsible for getting the right answer.Could someone walk me through how an array such as
[0,0,1]
withlength=3
would work? This is what I get:Beta Was this translation helpful? Give feedback.
All reactions