Joseph Redmon
2015-10-09 c40cdeb4021fc1a638969563972f13c9f5e90d74
src/layer.h
@@ -14,7 +14,9 @@
    CROP,
    ROUTE,
    COST,
    NORMALIZATION
    NORMALIZATION,
    REGION,
    AVGPOOL
} LAYER_TYPE;
typedef enum{
@@ -26,21 +28,30 @@
    ACTIVATION activation;
    COST_TYPE cost_type;
    int batch;
    int forced;
    int object_logistic;
    int class_logistic;
    int coord_logistic;
    int inputs;
    int outputs;
    int truths;
    int h,w,c;
    int out_h, out_w, out_c;
    int n;
    int groups;
    int size;
    int side;
    int stride;
    int pad;
    int crop_width;
    int crop_height;
    int sqrt;
    int flip;
    float angle;
    float jitter;
    float saturation;
    float exposure;
    int softmax;
    int classes;
    int coords;
    int background;
@@ -48,15 +59,22 @@
    int objectness;
    int does_cost;
    int joint;
    int noadjust;
    float alpha;
    float beta;
    float kappa;
    float coord_scale;
    float object_scale;
    float noobject_scale;
    float class_scale;
    int dontload;
    float probability;
    float scale;
    int *indexes;
    float *rand;
    float *cost;
@@ -98,4 +116,6 @@
    #endif
} layer;
void free_layer(layer);
#endif