Print Output Value of Neural Network in Flax
I use Flax to solve a neural differential equation i.e. part of my PDE is represented by a NN. Doesn’t really matter, just for context. Assume we have a neural network like this
Initialize carry of RNNCells now that it is an instance function
I’ve been using an older version of Flax, and was able to incorporate existing RNNCells into a custom RNNCell where I can keep its carry in case I want to: