Notifications
Clear all
0
28/09/2023 11:40 pm
Topic starter
The SINABS documentation makes it clear that during training we need to reset the states of the spiking neural network layers since they are stateful.
In the SINABS docs ( https://sinabs.readthedocs.io/en/v1.2.9/tutorials/nmnist.html) this is done via the sinabs.reset_states() method.
In the sinabs-dynapcnn documentation ( https://synsense.gitlab.io/sinabs-dynapcnn/getting_started/notebooks/nmnist_quick_start.html) the call to sinabs.reset_states() is missing, and instead a manual detach() is run on the buffer of the stateful layers.
Are these two methods equivalent?
1 Answer
0
09/10/2023 3:34 pm
Hi, Hovren. These two methods are not equivalent; 'reset' will set vmem to 0, but 'detach' won't.