Replies: 1 comment 6 replies
-
Stax is not actively developed any more and does not have this functionality (plumbing intermediate values) built in. There is a separate library available called Oryx which has a transformation called Harvest which can be used with any JAX code (e.g. you could use this with Stax, Flax, whatever). This transformation allows you to capture intermediate values and and collect them at the end of your function. |
Beta Was this translation helpful? Give feedback.
6 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 have tried flax before and there is a way to capture the intermediate outputs following the link https://flax.readthedocs.io/en/latest/howtos/extracting_intermediates.html#use-capture-intermediates.
Recently, i try to use stax which i think is more friendly to customized layers. And i wonder if there is a way that i could log the intermediate outputs in each layer (or some layer) in a similar way?
Beta Was this translation helpful? Give feedback.
All reactions