a5da87f488bf1db6c38d66d982be07de921e8688,bindsnet/network/nodes.py,McCullochPitts,_reset,#McCullochPitts#,144

Before Change


		"""
		Resets relevant state variables.
		"""
		self.s[self.s != 0] = 0  // Spike occurences.

		if self.traces:
			self.x = torch.zeros(self.shape)  // Firing traces.


class IFNodes(Nodes):
	"""
	Layer of `integrate-and-fire (IF) neurons <http://neuronaldynamics.epfl.ch/online/Ch1.S3.html>`_.
	"""

After Change


		"""
		Resets relevant state variables.
		"""
		super()._reset()


class IFNodes(Nodes):
	"""
Italian Trulli
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: McCullochPitts
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: IFNodes
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: McCullochPitts
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: Input
Method Name: _reset