|
sPyNNaker neural_modelling 7.4.2
|
Synapses made of weight and accumulator. More...
#include "synapse_structure.h"Go to the source code of this file.
Data Structures | |
| struct | plastic_synapse_t |
| Plastic synapse contains normal 16-bit weight and an accumulator. More... | |
| struct | update_state_t |
Typedefs | |
| typedef plastic_synapse_t | final_state_t |
| Final states are actually directly what is stored. | |
Functions | |
| static update_state_t | synapse_structure_get_update_state (plastic_synapse_t synaptic_word, index_t synapse_type) |
| Get the update state from the synapse structure. | |
| static final_state_t | synapse_structure_get_final_state (update_state_t state) |
| Get the final state from the update state. | |
| static weight_t | synapse_structure_get_final_weight (final_state_t final_state) |
| Get the final weight from the final state. | |
| static plastic_synapse_t | synapse_structure_get_final_synaptic_word (final_state_t final_state) |
| Get the final plastic synapse data from the final state. | |
| static plastic_synapse_t | synapse_structure_create_synapse (weight_t weight) |
| Create the initial plastic synapse data. | |
| static weight_t | synapse_structure_get_weight (plastic_synapse_t synaptic_word) |
| Get the current synaptic weight from the plastic synapse data. | |
| static void | synapse_structure_decay_weight (update_state_t *state, uint32_t decay) |
| static accum | synapse_structure_get_update_weight (update_state_t state) |
Synapses made of weight and accumulator.
Definition in file synapse_structure_weight_accumulator_impl.h.
| struct plastic_synapse_t |
Plastic synapse contains normal 16-bit weight and an accumulator.
Plastic synapse contains normal 16-bit weight, a small state machine, an accumulator, and the size of the relevance window.
Plastic synapse contains normal 16-bit weight, a small state machine and an accumulator
Definition at line 26 of file synapse_structure_weight_accumulator_impl.h.
| struct update_state_t |
The update state is a weight state with 32-bit ARM-friendly version of the accumulator
The update state is a weight state with 32-bit ARM-friendly versions of the accumulator and the state
The update state is a weight state with 32-bit ARM-friendly versions of the accumulator, state and window length
Definition at line 35 of file synapse_structure_weight_accumulator_impl.h.
| Data Fields | ||
|---|---|---|
| weight_state_t | weight_state |
The weight staet. The weight state. Weight state. |
| int32_t | accumulator |
The accumulator (in ARM-friendly format) The accumulator. Accumulator. |
| int32_t | state |
State machine state. The state machine state. |
| uint32_t | window_length | The window length. |
| typedef plastic_synapse_t final_state_t |
Final states are actually directly what is stored.
Definition at line 43 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Get the update state from the synapse structure.
| [in] | synaptic_word | The plastic synapse data |
| [in] | synapse_type | What (supported) type of synapse is this? |
Creates the update state, using weight-dependence to initialise the weight state, and copying other parameters from the synaptic word into 32-bit form.
Definition at line 55 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Get the final state from the update state.
| [in] | state | the update state |
Definition at line 68 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Get the final weight from the final state.
| [in] | final_state | the final state |
Definition at line 84 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Get the final plastic synapse data from the final state.
| [in] | final_state | the final state |
Definition at line 93 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Create the initial plastic synapse data.
| [in] | weight | the initial synaptic weight |
Definition at line 102 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Get the current synaptic weight from the plastic synapse data.
| [in] | synaptic_word | the plastic synapse data |
Definition at line 114 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Definition at line 119 of file synapse_structure_weight_accumulator_impl.h.
|
inlinestatic |
Definition at line 124 of file synapse_structure_weight_accumulator_impl.h.