synsense / sinabs

A deep learning library for spiking neural networks which is based on PyTorch, focuses on fast training and supports inference on neuromorphic hardware.
https://sinabs.readthedocs.io
GNU Affero General Public License v3.0
80 stars 8 forks source link

Samna 21 Support #147

Closed ssinhaleite closed 11 months ago

ssinhaleite commented 11 months ago

Samna 21 change caused only one problem with sinabs-dynapcnn repository. -> This bug is caused by the removal of add_destination method from most nodes. This requires us to create an explicit graph and start it in order for it to work with samna. This graph needs to be started after the creation and stopped when the object is being destroyed.