Joseph Redmon
2016-07-19 9361292c429c0ba3400c31c7fa5d5e3d3cb6ab47
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,6 +34,7 @@
    float *scales;
    int   *steps;
    int num_steps;
    int burn_in;
    int inputs;
    int h, w, c;
@@ -49,6 +51,7 @@
    float *truth;
    float *input;
    float *delta;
    float *workspace;
    int train;
    int index;
    network net;