src/network.h
@@ -7,10 +7,11 @@ #include "data.h" typedef enum { CONSTANT, STEP, EXP, POLY, STEPS, SIG CONSTANT, STEP, EXP, POLY, STEPS, SIG, RANDOM } learning_rate_policy; typedef struct network{ float *workspace; int n; int batch; int *seen; @@ -37,6 +38,7 @@ int inputs; int h, w, c; int max_crop; int min_crop; #ifdef GPU float **input_gpu; @@ -48,6 +50,7 @@ float *truth; float *input; float *delta; float *workspace; int train; int index; network net;