SPRAAK
|
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) |
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) |
anonymous enum |
anonymous enum |
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 | ||
) |