jeshraghian / snntorch

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

Output for NIR conversion of CuBa LIF neurons incorrect #334

Open Jegp opened 2 weeks ago

Jegp commented 2 weeks 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.