MLP training example with xmap() #13861
Unanswered
che-shr-cat
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.
-
Hi!
I tried to create an MNIST classification example on MLP based on the Xmap tutorial (https://jax.readthedocs.io/en/latest/notebooks/xmap_tutorial.html).
My attempt is here:
https://colab.research.google.com/drive/1ZgskIH-vmNd73XZDjSgFV-_I6xbjEwpL?usp=sharing
The problem is that the tutorial does not contain anything with taking gradients of the code, and the code in the tutorial is incompatible with the grad() transformation because it relies on logsumexp, which uses lax.pmax, for which differentiation rule is not implemented.
A set of questions:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions