sPyNNaker neural_modelling 7.1.1
Loading...
Searching...
No Matches
Data Structures | Functions
connection_generator_all_to_all.h File Reference

All-to-All connection generator implementation. More...

#include <stdbool.h>
#include <synapse_expander/generator_types.h>

Go to the source code of this file.

Data Structures

struct  all_to_all
 The parameters to be passed around for this connector. More...
 

Functions

static void * connection_generator_all_to_all_initialise (void **region)
 Initialise the all-to-all connection generator.
 
static void connection_generator_all_to_all_free (void *generator)
 Free the all-to-all connection generator.
 
static bool connection_generator_all_to_all_generate (void *generator, uint32_t pre_lo, uint32_t pre_hi, uint32_t post_lo, uint32_t post_hi, uint32_t post_index, uint32_t post_slice_start, uint32_t post_slice_count, unsigned long accum weight_scale, accum timestep_per_delay, param_generator_t weight_generator, param_generator_t delay_generator, matrix_generator_t matrix_generator)
 Generate connections with the all-to-all connection generator.
 

Detailed Description

All-to-All connection generator implementation.

Definition in file connection_generator_all_to_all.h.


Data Structure Documentation

◆ all_to_all

struct all_to_all

The parameters to be passed around for this connector.

Specifies the range of pre- and post-neurons being connected.

Definition at line 30 of file connection_generator_all_to_all.h.

Data Fields
uint32_t allow_self_connections

Function Documentation

◆ connection_generator_all_to_all_initialise()

static void * connection_generator_all_to_all_initialise ( void **  region)
static

Initialise the all-to-all connection generator.

Parameters
[in,out]regionRegion to read parameters 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 connection_generator_all_to_all.h.

◆ connection_generator_all_to_all_free()

static void connection_generator_all_to_all_free ( void *  generator)
static

Free the all-to-all connection generator.

Parameters
[in]generatorThe generator to free

Definition at line 59 of file connection_generator_all_to_all.h.

◆ connection_generator_all_to_all_generate()

static bool connection_generator_all_to_all_generate ( void *  generator,
uint32_t  pre_lo,
uint32_t  pre_hi,
uint32_t  post_lo,
uint32_t  post_hi,
uint32_t  post_index,
uint32_t  post_slice_start,
uint32_t  post_slice_count,
unsigned long accum  weight_scale,
accum  timestep_per_delay,
param_generator_t  weight_generator,
param_generator_t  delay_generator,
matrix_generator_t  matrix_generator 
)
static

Generate connections with the all-to-all connection generator.

Parameters
[in]generatorThe generator to use to generate connections
[in]pre_slice_startThe start of the slice of the pre-population being generated
[in]pre_slice_countThe number of neurons in the slice of the pre-population being generated
[in]post_slice_startThe start of the slice of the post-population being generated
[in]post_slice_countThe number of neurons in the slice of the post-population being generated

Definition at line 75 of file connection_generator_all_to_all.h.