b6240c06fb49020e2d51703a1fcfddba7e27297d,bindsnet/network/nodes.py,AdaptiveLIFNodes,__init__,#AdaptiveLIFNodes#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,762
Before Change
"theta_decay", torch.empty_like(self.tc_theta_decay)
) // Set in _compute_decays.
self.register_buffer(
"v", self.rest * torch.ones(self.batch_size, *self.shape)
) // Neuron voltages.
self.register_buffer(
"theta", torch.zeros(self.batch_size, *self.shape)
) // Adaptive thresholds.
self.register_buffer(
"refrac_count", torch.zeros(self.batch_size, *self.shape)
) // Refractory period counters.
self.lbound = lbound // Lower bound of voltage.
After Change
self.register_buffer(
"theta_decay", torch.empty_like(self.tc_theta_decay)
) // Set in compute_decays.
self.register_buffer("v", torch.FloatTensor()) // Neuron voltages.
self.register_buffer("theta", torch.zeros(*self.shape)) // Adaptive thresholds.
self.register_buffer(
"refrac_count", torch.FloatTensor()
) // Refractory period counters.
self.lbound = lbound // Lower bound of voltage.
self.one_spike = one_spike // One spike per timestep.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: BindsNET/bindsnet
Commit Name: b6240c06fb49020e2d51703a1fcfddba7e27297d
Time: 2019-06-21
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: AdaptiveLIFNodes
Method Name: __init__
Project Name: BindsNET/bindsnet
Commit Name: b6240c06fb49020e2d51703a1fcfddba7e27297d
Time: 2019-06-21
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: AdaptiveLIFNodes
Method Name: __init__
Project Name: BindsNET/bindsnet
Commit Name: b6240c06fb49020e2d51703a1fcfddba7e27297d
Time: 2019-06-21
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: CurrentLIFNodes
Method Name: __init__
Project Name: BindsNET/bindsnet
Commit Name: b6240c06fb49020e2d51703a1fcfddba7e27297d
Time: 2019-06-21
Author: djsaunde@umass.edu
File Name: bindsnet/network/nodes.py
Class Name: LIFNodes
Method Name: __init__