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.dataclassin fact). Therefore I need to specify thepspecof the arg. However the different fields of the arg have differentpspecs. Is there a way to handle this?Beta Was this translation helpful? Give feedback.
All reactions