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

connection between layers (contains operations) More...

Data Fields

SprNNLayer * src
 
SprNNLayer * src2
 NULL or second layer in a merge operation. More...
 
SprNNLayer * dst
 
SprNNIOElstream_ndx
 where to find the definition of the sparse connections More...
 
SprNNIOElstream_param
 where to find the (trainable) parameters More...
 
int bias
 
int offs
 start of the destination range More...
 
int len
 number of nodes covered by destination range More...
 
int type
 connection type More...
 
int Nops
 number of operations (including Nops) More...
 
SprNNOp * opx
 op linked list excluding all NOPs (may hence be empty) More...
 
SprNNOp op []
 

Detailed Description

connection between layers (contains operations)

Field Documentation

SprNNLayer* SprNNConnect::src
SprNNLayer* SprNNConnect::src2

NULL or second layer in a merge operation.

SprNNLayer* SprNNConnect::dst
SprNNIOEl* SprNNConnect::stream_ndx

where to find the definition of the sparse connections

SprNNIOEl* SprNNConnect::stream_param

where to find the (trainable) parameters

int SprNNConnect::bias

uses the bias (1/0); in case the connection has two input layers, the bias for the 2nd layers is indicated with bit (2/0)

int SprNNConnect::offs

start of the destination range

int SprNNConnect::len

number of nodes covered by destination range

int SprNNConnect::type

connection type

int SprNNConnect::Nops

number of operations (including Nops)

SprNNOp* SprNNConnect::opx

op linked list excluding all NOPs (may hence be empty)

SprNNOp SprNNConnect::op[]

up till SPR_NN_OP_MAX operations on an arc; array (including NOPs), double linked list (inclusing NOPs), and single linked list (excluding NOPs)