Models (sanafe.models)
This page documents every pipeline model available in SANA-FE. It begins with the framework attributes shared by all models, followed by a section for each model listing its model-specific attributes.
Framework attributes
These attributes are accepted by every pipeline model in SANA-FE. They control shared behavior such as energy/latency reporting, hardware unit selection, and update scheduling, and apply equally to built-in and plugin models.
Attribute |
Description |
|---|---|
|
(int) Connections outgoing from a neuron (deprecated) |
|
(str) Unique name of the dendrite H/W unit. |
|
(float) Energy cost for a soma to access a neuron (J). |
|
(float) Energy cost of receiving a spike message (J). |
|
(float) Energy cost of sending a spike message (J) |
|
(float) Energy cost for one synapse look-up/access (J). |
|
(float) Energy cost for a soma to spike (J). |
|
(float) Energy cost of updating a dendrite (s) |
|
(float) Energy cost for a soma to update (J). |
|
(bool) Force updates every time-step. |
|
(float) Latency cost for a soma to access a neuron (s). |
|
(float) Latency cost of receiving a spike message (s). |
|
(float) Latency cost of sending a spike message (s) |
|
(float) Latency cost for one synapse look-up/access (s). |
|
(float) Latency cost for a soma to spike (s). |
|
(float) Latency cost of updating a dendrite (s) |
|
(float) Energy cost for a soma to update (s). |
|
(str) Unique model name, either built-in or plugin. |
|
(str) Plug-in library path. |
|
(str) Unique name of the soma H/W unit. |
|
(str) Unique name of the synapse H/W unit. |
accumulator
(none)
accumulator_with_delay
(none)
current_based
Attribute |
Description |
|---|---|
|
(float) Time-steps that a spike is delayed. |
|
(float) Time-steps that a spike is delayed. |
|
(float) Synaptic weight associated with connection. |
|
(float) Synaptic weight associated with connection. |
input
Attribute |
Description |
|---|---|
|
(float) Randomized Poisson input encoding, i.e., random > poisson: spike, else no spike. |
|
(float) Rate-based input encoding. |
|
(list[bool]) A per-time-step spike-train. |
leaky_integrate_and_fire
Attribute |
Description |
|---|---|
|
Bias current applied every step: v[t+1] = bias + v[t]*leak_decay + u[t] |
|
(no description) |
|
(bool) Force soma to update every step, regardless of inputs. |
|
(bool) Force soma to update every step, regardless of inputs. |
|
(float) Decay term applied every step: v[t+1] = bias + v[t]*leak_decay + u[t] |
|
(bool) Record input current (u) for Loihi soma. |
|
(str) Noise source. Only file-based noise stream supported |
|
(int) The number of noise bits simulated. |
|
(int) The number of refractory steps after a spike, default=0. |
|
(float) The potential to reset to after a spike. Default=0.0 |
|
(str) The type of reset to apply on spikes [none/soft/hard/saturate]. Default=hard |
|
(float) The potential to reset to after a reverse spike. |
|
(str) The type of reset to apply on negative/reverse spikes [none/soft/hard/saturate]. Default=None |
|
(float) Fires when V < reverse_threshold, then V <- f(reverse_reset_mode, reverse_reset). |
|
(float) Fires when V > threshold, then V <- f(reset_mode, reset). |
taps
Attribute |
Description |
|---|---|
|
(list[float]) List of RC line space constants, N-1 in total. |
|
(int) Number of N dendritic ‘taps’ or compartments. |
|
(list[float]) List of RC line time constants, one per tap. |
truenorth
Attribute |
Description |
|---|---|
|
Additive bias current applied every step. |
|
(float) Subtractive leak term applied every step |
|
(bool) Leak towards zero if true, leak away otherwise. |
|
(int) Positive mask to apply to randomly generated noise. |
|
(float) The potential to reset to after a spike. Default=0.0 |
|
(str) The type of reset to apply on spikes [none/soft/hard/saturate]. Default=hard |
|
(float) The potential to reset to after a reverse spike. |
|
(str) The type of reset to apply on negative/reverse spikes [none/soft/hard/saturate]. Default=None |
|
(float) The potential at which a reverse spike is triggered. |
|
(float) The potential at which a spike is triggered. |