Re-examine the whole state story for RNNs #1095
Labels
refactoring
No change to functionality
RNN
Temporary label to group all things RNN
tentative
Up to discussion, may be dismissed
The
state: Any | None = None
crept into all forwards of children ofNetBase
. Properly accommodating it forced me to makeNetBase
generic, just to allow to doclass Recurrent(NetBase[RecurrentStateBatch])
.The
state
is unused almost everywhere and it makes every signature more complicated. On top of that, RNN things are currently broken anyway. Maybe there's a way to make our lives simpler without completely throwing over board the possibility to repair RNNs down the line?Also pinging @opcode81 @Trinkle23897 , do you have an opinion?
The text was updated successfully, but these errors were encountered: