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; @@ -33,9 +34,12 @@ float *scales; int *steps; int num_steps; int burn_in; int inputs; int h, w, c; int max_crop; int min_crop; #ifdef GPU float **input_gpu; @@ -47,6 +51,7 @@ float *truth; float *input; float *delta; float *workspace; int train; int index; network net;