I have a Keras neural network shown in the attached picture
I train this network with certain sequences of the form
, plus the other inputs which stay fixed for the entire sequence.
The prediction starts with passing to the network the first symbol
(plus the other inputs), decoding its output into the vector
, then passing
as the new input (till the network generates the symbol
For each prediction (on the test set), I need to access the output values of the hidden layers, in particular of the layer
(or the two dense layers that are concatenated in
From the documentation and from the debugger (looking into the Keras model) I cannot understand how I can access those values after a
Is there anyone who can help me or provide a pointer to the documentation?