What you want is a “reset”. This tells the TM that the current sequence has ended and an new one begins with the next data input. If you are using the OPF, you can call model.resetSequenceStates()
. If you are using the temporal memory directly, call tm.reset()
.