NetUnfold
NetUnfold[fnet] produces the elementary net of the folded net fnet, exposing the recurrent states.
This is used to access the internal structure of recurrent networks.
Examples
NetUnfold[NetFold[recurrentCell]]NetUnfold[trainedRNN]unfoldedNet = NetUnfold[NetModel["...RNN..."]]*See the official Wolfram Language Reference for more details.