sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
Data Structures | Functions
param_generator_constant.h File Reference

Constant value parameter generator implementation. More...

#include <stdfix.h>
#include <spin1_api.h>
#include <synapse_expander/generator_types.h>

Go to the source code of this file.

Data Structures

struct  param_generator_constant
 The data for the constant value generation. More...
 

Functions

static void * param_generator_constant_initialize (void **region)
 How to initialise the constant parameter generator.
 
static void param_generator_constant_free (void *generator)
 How to free any data for the constant parameter generator.
 
static accum param_generator_constant_generate (void *generator)
 How to generate values with the constant parameter generator.
 

Detailed Description

Constant value parameter generator implementation.

Definition in file param_generator_constant.h.


Data Structure Documentation

◆ param_generator_constant

struct param_generator_constant

The data for the constant value generation.

Definition at line 30 of file param_generator_constant.h.

Data Fields
accum value

Function Documentation

◆ param_generator_constant_initialize()

static void * param_generator_constant_initialize ( void **  region)
static

How to initialise the constant parameter generator.

Parameters
[in,out]regionRegion to read setup from. Should be updated to position just after parameters after calling.
Returns
A data item to be passed in to other functions later on

Definition at line 40 of file param_generator_constant.h.

◆ param_generator_constant_free()

static void param_generator_constant_free ( void *  generator)
static

How to free any data for the constant parameter generator.

Parameters
[in]generatorThe generator to free

Definition at line 57 of file param_generator_constant.h.

◆ param_generator_constant_generate()

static accum param_generator_constant_generate ( void *  generator)
static

How to generate values with the constant parameter generator.

Parameters
[in]generatorThe generator to use to generate values
Returns
The value generated

Definition at line 66 of file param_generator_constant.h.