jeshraghian / snntorch

Deep and online learning with spiking neural networks in Python
https://snntorch.readthedocs.io/en/latest/
MIT License
1.37k stars 228 forks source link

Output for NIR conversion of CuBa LIF neurons incorrect #334

Open Jegp opened 5 months ago

Jegp commented 5 months ago

Description

@dylanmuir found a problem where CuBaLIF neurons would have an input_type of [] instead of [1] when exporting to NIR (https://github.com/neuromorphs/NIR/pull/107). There is a PR pending in the NIR codebase, but it would be good to adhere to the convention that all neuron types are array-valued instead of scalar-valued to avoid erroneous parsing and misconfiguration.