sPyNNaker neural_modelling 7.2.2
Loading...
Searching...
No Matches
Functions
weight_one_term.h File Reference

API for single-term weight dependence rules. More...

#include "weight.h"

Go to the source code of this file.

Functions

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.
 

Detailed Description

API for single-term weight dependence rules.

Definition in file weight_one_term.h.

Function Documentation

◆ weight_one_term_apply_depression()

static weight_state_t weight_one_term_apply_depression ( weight_state_t  state,
int32_t  depression 
)
static

Apply the depression rule to the weight state.

Parameters
[in]stateThe weight state to update
[in]depressionThe amount of depression to apply
Returns
the updated weight state

◆ weight_one_term_apply_potentiation()

static weight_state_t weight_one_term_apply_potentiation ( weight_state_t  state,
int32_t  potentiation 
)
static

Apply the potentiation rule to the weight state.

Parameters
[in]stateThe weight state to update
[in]potentiationThe amount of potentiation to apply
Returns
the updated weight state