pytensor_ml.layers.RecurrentCell.initial_state#
- abstractmethod RecurrentCell.initial_state(X)#
Build the state the recurrence starts from, for a sequence
Xof shape(..., time, n_in).Carries one value per batch element, so the state’s batch axes are
X’s and its dtype is the onestep()produces – a float64 sequence through a float32 cell makes a float64 state.