Synapses just hold weight.
More...
Go to the source code of this file.
Synapses just hold weight.
Definition in file synapse_structure_weight_impl.h.
◆ plastic_synapse_t
◆ update_state_t
◆ final_state_t
◆ synapse_structure_get_update_state()
Get the update state from the synapse structure.
- Parameters
-
[in] | synaptic_word | The plastic synapse data |
[in] | synapse_type | What (supported) type of synapse is this? |
- Returns
- The update state
Definition at line 44 of file synapse_structure_weight_impl.h.
◆ synapse_structure_get_final_state()
Get the final state from the update state.
- Parameters
-
[in] | state | the update state |
- Returns
- the final state
Definition at line 53 of file synapse_structure_weight_impl.h.
◆ synapse_structure_get_final_weight()
static weight_t synapse_structure_get_final_weight |
( |
final_state_t |
final_state | ) |
|
|
inlinestatic |
Get the final weight from the final state.
- Parameters
-
[in] | final_state | the final state |
- Returns
- the final weight
Definition at line 62 of file synapse_structure_weight_impl.h.
◆ synapse_structure_get_final_synaptic_word()
Get the final plastic synapse data from the final state.
- Parameters
-
[in] | final_state | the final state |
- Returns
- the final plastic synapse data, ready to be stored
Definition at line 71 of file synapse_structure_weight_impl.h.
◆ synapse_structure_create_synapse()
Create the initial plastic synapse data.
- Parameters
-
[in] | weight | the initial synaptic weight |
- Returns
- the plastic synapse data
Definition at line 80 of file synapse_structure_weight_impl.h.
◆ synapse_structure_get_weight()
Get the current synaptic weight from the plastic synapse data.
- Parameters
-
[in] | synaptic_word | the plastic synapse data |
- Returns
- the current synaptic weight
Definition at line 89 of file synapse_structure_weight_impl.h.
◆ synapse_structure_decay_weight()
static void synapse_structure_decay_weight |
( |
update_state_t * |
state, |
|
|
uint32_t |
decay |
|
) |
| |
|
inlinestatic |
◆ synapse_structure_get_update_weight()
static accum synapse_structure_get_update_weight |
( |
update_state_t |
state | ) |
|
|
inlinestatic |