jeped@kth.se jegp@mastodon.social github.com/neuromorphs/nir
Leaky-integrator: $\dot{v} = (v_{leak} - v) + R I$
import norse.torch as norse
model = norse.SequentialState( ... )
nir_model = norse.to_nir(model, torch.randn(1, 10))
import sinabs.from_nir
sinabs_model = sinabs.from_nir(nir_model, batch_size=4)
jeped@kth.se jegp@mastodon.social github.com/neuromorphs/nir