sPyNNaker neural_modelling 7.3.1
|
Multiplicative single-term weight dependence rule. More...
#include <neuron/plasticity/stdp/maths.h>
#include <neuron/plasticity/stdp/stdp_typedefs.h>
#include <neuron/synapse_row.h>
#include <debug.h>
#include "weight_one_term.h"
Go to the source code of this file.
Data Structures | |
struct | plasticity_weight_region_data_t |
The configuration of the rule. More... | |
struct | weight_state_t |
The current state data for the rule. More... | |
Functions | |
static weight_state_t | weight_get_initial (weight_t weight, index_t synapse_type) |
Gets the initial weight state. | |
static weight_state_t | weight_one_term_apply_depression (weight_state_t state, int32_t depression) |
Apply the depression rule to the weight state. | |
static weight_state_t | weight_one_term_apply_potentiation (weight_state_t state, int32_t potentiation) |
Apply the potentiation rule to the weight state. | |
static weight_t | weight_get_final (weight_state_t state) |
Gets the final weight. | |
static void | weight_decay (weight_state_t *state, int32_t decay) |
static accum | weight_get_update (weight_state_t state) |
Multiplicative single-term weight dependence rule.
Definition in file weight_multiplicative_impl.h.
struct plasticity_weight_region_data_t |
The configuration of the rule.
Definition at line 33 of file weight_additive_one_term_impl.h.
struct weight_state_t |
The current state data for the rule.
Definition at line 42 of file weight_additive_one_term_impl.h.
Data Fields | ||
---|---|---|
accum | weight |
The starting weight. The current weight. The weight. |
uint32_t | weight_shift |
Weight shift to S1615 version. The shift to use when multiplying. Shift of weight to and from S1615 format. |
const plasticity_weight_region_data_t * | weight_region | Reference to the configuration data. |
|
inlinestatic |
Gets the initial weight state.
[in] | weight | The weight at the start |
[in] | synapse_type | The type of synapse involved |
Definition at line 62 of file weight_multiplicative_impl.h.
|
inlinestatic |
Apply the depression rule to the weight state.
[in] | state | The weight state to update |
[in] | depression | The amount of depression to apply |
Definition at line 80 of file weight_multiplicative_impl.h.
|
inlinestatic |
Apply the potentiation rule to the weight state.
[in] | state | The weight state to update |
[in] | potentiation | The amount of potentiation to apply |
Definition at line 95 of file weight_multiplicative_impl.h.
|
inlinestatic |
Gets the final weight.
[in] | state | The updated weight state |
Definition at line 112 of file weight_multiplicative_impl.h.
|
inlinestatic |
Definition at line 116 of file weight_multiplicative_impl.h.
|
inlinestatic |
Definition at line 120 of file weight_multiplicative_impl.h.