a41e60692a3452bfea07b5b830fc669a20ba9176,bindsnet/network/nodes.py,AdaptiveLIFNodes,forward,#AdaptiveLIFNodes#Any#,508

Before Change


        self.theta += self.theta_plus * self.s.float()

        // voltage clipping to lowerbound
        self.v.masked_fill_(self.v < self.lbound, self.lbound)

    def reset_(self) -> None:
        // language=rst
        

After Change


        self.theta += self.theta_plus * self.s.float()

        // voltage clipping to lowerbound
        if self.lbound is not None:
            self.v.masked_fill_(self.v < self.lbound, self.lbound)

    def reset_(self) -> None:
        // language=rst
        
        Resets relevant state variables.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: BindsNET/bindsnet
Commit Name: a41e60692a3452bfea07b5b830fc669a20ba9176
Time: 2018-11-25
Author: kks1502@postech.ac.kr
File Name: bindsnet/network/nodes.py
Class Name: AdaptiveLIFNodes
Method Name: forward


Project Name: BindsNET/bindsnet
Commit Name: a41e60692a3452bfea07b5b830fc669a20ba9176
Time: 2018-11-25
Author: kks1502@postech.ac.kr
File Name: bindsnet/network/nodes.py
Class Name: LIFNodes
Method Name: forward


Project Name: BindsNET/bindsnet
Commit Name: a41e60692a3452bfea07b5b830fc669a20ba9176
Time: 2018-11-25
Author: kks1502@postech.ac.kr
File Name: bindsnet/network/nodes.py
Class Name: DiehlAndCookNodes
Method Name: forward


Project Name: BindsNET/bindsnet
Commit Name: a41e60692a3452bfea07b5b830fc669a20ba9176
Time: 2018-11-25
Author: kks1502@postech.ac.kr
File Name: bindsnet/network/nodes.py
Class Name: IzhikevichNodes
Method Name: forward