Replies: 1 comment
-
You can pass a matching pytree with |
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.
-
I want to shmap a function with a custom PyTree arg (
flax.struct.dataclass
in fact). Therefore I need to specify thepspec
of the arg. However the different fields of the arg have differentpspec
s. Is there a way to handle this?Beta Was this translation helpful? Give feedback.
All reactions