lava-nc / lava

A Software Framework for Neuromorphic Computing
https://lava-nc.org
Other
529 stars 136 forks source link

ATRLIF neuron model #846

Closed jlubo closed 2 months ago

jlubo commented 3 months ago

This adds to the Lava process library a Leaky Integrate-and-Fire neuron with adaptive threshold and adaptive refractoriness (ATRLIF neuron). Both a floating- and a fixed-point CPU process model implementation are contained.

I also have a working NC process model, based on microcode from Lava-DL, which I kindly received from @bamsumit. For that, I'd like to know how to proceed to integrate the model into Lava-Loihi.

As a side note, the neuron model has already been integrated into Brian2Lava.

Pull request checklist

Your PR fulfills the following requirements:

Pull request type

What is the current behavior?

--

What is the new behavior?

Does this introduce a breaking change?

Supplemental information

--

jlubo commented 2 months ago

@PhilippPlank @weidel-p thanks for reviewing. I've pushed the adjustments you asked for, so I guess it can be merged now.

Regarding the NC process model, do you want to integrate this into Lava-Loihi? How can we proceed for that?

PhilippPlank commented 2 months ago

@jlubo Could you please update the branch with main? I had to fix a CI problem and this is now blocking this PR. Thanks!