a5da87f488bf1db6c38d66d982be07de921e8688,bindsnet/network/nodes.py,DiehlAndCookNodes,_reset,#DiehlAndCookNodes#,502
Before Change
"""
Resets relevant state variables.
"""
self.s[self.s != 0] = 0 // Spike occurences.
self.v[self.v != self.rest] = self.rest // Neuron voltages.
self.refrac_count[self.refrac_count != 0] = 0 // refrac period counters.
if self.traces:
self.x[self.x != 0] = 0 // Firing traces.
class IzhikevichNodes(Nodes):
"""
Layer of Izhikevich neurons.
"""
After Change
"""
Resets relevant state variables.
"""
super()._reset()
self.v[self.v != self.rest] = self.rest // Neuron voltages.
self.refrac_count[self.refrac_count != 0] = 0 // refrac period counters.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances
Project Name: BindsNET/bindsnet
Commit Name: a5da87f488bf1db6c38d66d982be07de921e8688
Time: 2018-05-18
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: DiehlAndCookNodes
Method Name: _reset
Project Name: BindsNET/bindsnet
Commit Name: a5da87f488bf1db6c38d66d982be07de921e8688
Time: 2018-05-18
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: AdaptiveLIFNodes
Method Name: _reset
Project Name: BindsNET/bindsnet
Commit Name: a5da87f488bf1db6c38d66d982be07de921e8688
Time: 2018-05-18
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: LIFNodes
Method Name: _reset
Project Name: BindsNET/bindsnet
Commit Name: a5da87f488bf1db6c38d66d982be07de921e8688
Time: 2018-05-18
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: DiehlAndCookNodes
Method Name: _reset