Vmap initialize model #1233
Unanswered
pharringtonp19
asked this question in
Q&A
Replies: 0 comments
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.
-
Coming from jax, I was thinking I could initialize the parameters of a MLP by
vmapping
a function which initializes parameters for a single layer. Given thatvmap
does not exist in dex, my assumption is that I can do this withmap
. I don't understand the effect system in dex (yet!) so I can't tell from the signature ofmap
whether this is right thing to do.Beta Was this translation helpful? Give feedback.
All reactions