SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Typedefs | Enumerations | Functions
API_SprLibInternal::lib::mlp
+ Collaboration diagram for API_SprLibInternal::lib::mlp:

Data Structures

struct  SprMlpLayer
 a (named) layer in the MLP More...
 
struct  SprMlpArg
 extra arguments for the (non-linear) functions More...
 
struct  SprMlpFun
 the (non-linear) function on an arc More...
 
struct  SprMlpParam
 pointers to all params for the current arc More...
 
union  _Union2_MLP_MAIN_
 optional extra parameter(s) (constants) More...
 
union  _Union3_MLP_MAIN_
 
struct  SprMlpXFun
 
struct  SprMlpProc
 
union  _Union4_MLP_MAIN_
 forward evaluation of all relevant arcs More...
 
union  _Union5_MLP_MAIN_
 backward training of all relevant arcs More...
 
struct  SprMlpConnect
 a connection between two layers More...
 
struct  SprMlpNormList
 
struct  SprWgdParam
 weights | partial_derivs | time_av_moment2 | time_av_moment1 More...
 
struct  SprCgParam
 

Typedefs

typedef SprNNFloatCalc(* _FuncPtr1_MLP_MAIN_ )(SprNNFloatCalc x, SprMlpParam *p, const struct t_mlp_xfun *op)
 
typedef SprNNFloatCalc(* SprMlpNLF )(SprNNFloatCalc x, SprMlpParam *p, const SprMlpXFun *op)
 

Enumerations

enum  {
  SPR_MLP_OPT_TRAIN, SPR_MLP_OPT_PROP, SPR_MLP_TREE_TRAIN, SPR_MLP_LAYER_TREE,
  SPR_MLP_CONNECT_SUM, SPR_MLP_CONNECT_PROD, SPR_MLP_LAYER_INIT0, SPR_MLP_LAYER_INIT1,
  SPR_MLP_LAYER_VSET, SPR_MLP_LAYER_USED, SPR_MLP_LAYER_MUSED, SPR_MLP_LAYER_PROP,
  SPR_MLP_OPT_CONST, SPR_MLP_OPT_BLOCK, SPR_MLP_OPT_TC_SET, SPR_MLP_OPT_PB_SET,
  SPR_MLP_CONNECT_BIAS
}
 
enum  { SPR_MLP_LEFT_CHILD, SPR_MLP_RIGHT_CHILD, SPR_MLP_SHIFT_CHILD }
 tree-structured evaluation More...
 

Functions

void spr_mlp_eval_init (SprMLP *mlp, const float *x)
 
void spr_set_norm_const (SprNNFloatData *norm_const, SprMlpConnect *src)
 

Detailed Description

Typedef Documentation

typedef SprNNFloatCalc(* _FuncPtr1_MLP_MAIN_)(SprNNFloatCalc x, SprMlpParam *p, const struct t_mlp_xfun *op)
typedef SprNNFloatCalc(* SprMlpNLF)(SprNNFloatCalc x, SprMlpParam *p, const SprMlpXFun *op)

Enumeration Type Documentation

anonymous enum
Enumerator
SPR_MLP_OPT_TRAIN 
SPR_MLP_OPT_PROP 
SPR_MLP_TREE_TRAIN 
SPR_MLP_LAYER_TREE 
SPR_MLP_CONNECT_SUM 
SPR_MLP_CONNECT_PROD 
SPR_MLP_LAYER_INIT0 
SPR_MLP_LAYER_INIT1 
SPR_MLP_LAYER_VSET 
SPR_MLP_LAYER_USED 
SPR_MLP_LAYER_MUSED 
SPR_MLP_LAYER_PROP 
SPR_MLP_OPT_CONST 
SPR_MLP_OPT_BLOCK 
SPR_MLP_OPT_TC_SET 
SPR_MLP_OPT_PB_SET 
SPR_MLP_CONNECT_BIAS 
anonymous enum

tree-structured evaluation

Enumerator
SPR_MLP_LEFT_CHILD 
SPR_MLP_RIGHT_CHILD 
SPR_MLP_SHIFT_CHILD 

Function Documentation

void spr_mlp_eval_init ( SprMLP mlp,
const float *  x 
)

Reset all buffers (prepare for evaluation) and set the input buffer.

void spr_set_norm_const ( SprNNFloatData norm_const,
SprMlpConnect src 
)