sPyNNaker neural_modelling 7.3.1
|
API for synaptic state. More...
Go to the source code of this file.
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) |
Decay the synaptic weight value stored by multiplication. | |
static accum | synapse_structure_get_update_weight (update_state_t state) |
Get the current synaptic weight stored in the update state. | |
API for synaptic state.
Implementations of this have one or more of:
Definition in file synapse_structure.h.
|
static |
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? |
|
static |
Get the final state from the update state.
[in] | state | the update state |
|
static |
Get the final weight from the final state.
[in] | final_state | the final state |
|
static |
Get the final plastic synapse data from the final state.
[in] | final_state | the final state |
|
static |
Create the initial plastic synapse data.
[in] | weight | the initial synaptic weight |
|
static |
Get the current synaptic weight from the plastic synapse data.
[in] | synaptic_word | the plastic synapse data |
|
static |
Decay the synaptic weight value stored by multiplication.
[in] | state | The update state containing the current weight |
[in] | decay | The "decay" to multiply the weight by, in STDP fixed point format |
|
static |
Get the current synaptic weight stored in the update state.
[in] | state | The update state containing the current weight |