SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprNNLayer Struct Reference

a NN layer More...

Data Fields

SprNNLayer * next
 layers are stored in a NULL terminated linked list More...
 
SprNNLayer * next_io
 
int Nnodes
 number of nodes (not including the bias) More...
 
int flags
 
int ndx_cnt
 
SprNNIOEl ** connect
 
char name []
 name of the layer (starts at name+1) More...
 

Detailed Description

a NN layer

Field Documentation

SprNNLayer* SprNNLayer::next

layers are stored in a NULL terminated linked list

SprNNLayer* SprNNLayer::next_io

input and output layers are part of specific input/output lists (a layer cannot be both input and output)

int SprNNLayer::Nnodes

number of nodes (not including the bias)

int SprNNLayer::flags

SPR_NN_LAYER_BIAS set if bias values needed, SPR_NN_LAYER_INPUT/SPR_NN_LAYER_OUTPUT set if input/output layer

int SprNNLayer::ndx_cnt

give each layer a unique index; when reading the configuraion, this fiels is used to count the number of nodes (not) covered by connections

SprNNIOEl** SprNNLayer::connect

ingoing connection for every node (only relevant for checking when reading the configuration)

char SprNNLayer::name[]

name of the layer (starts at name+1)