t1
Joseph Redmon
2016-06-20 ab75d5c5783db4792e400f933d584984f3aa7bf0
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;
@@ -49,6 +50,7 @@
    float *truth;
    float *input;
    float *delta;
    float *workspace;
    int train;
    int index;
    network net;