NetStateObject
NetStateObject[net] creates an object derived from net that represents a neural net with additional stored state information that is updated when the net is applied to data.
NetStateObject[net, seed]initializes stored state using seed.
Examples
NetStateObject[recurrentNet]stateObj = NetStateObject[net, 1234];
stateObj[input]NetStateObject[LongShortTermMemoryLayer[10]]*See the official Wolfram Language Reference for more details.