Alexey
2017-11-26 eeb81f29375298dc1c8fc64374f40b6a743577a9
src/network.h
@@ -2,9 +2,16 @@
#ifndef NETWORK_H
#define NETWORK_H
#include "image.h"
#include <stdint.h>
#include "layer.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "image.h"
#include "data.h"
#include "tree.h"
typedef enum {
    CONSTANT, STEP, EXP, POLY, STEPS, SIG, RANDOM
@@ -14,7 +21,7 @@
    float *workspace;
    int n;
    int batch;
    int *seen;
   int *seen;
    float epoch;
    int subdivisions;
    float momentum;
@@ -36,6 +43,11 @@
    int num_steps;
    int burn_in;
    int adam;
    float B1;
    float B2;
    float eps;
    int inputs;
    int h, w, c;
    int max_crop;
@@ -47,6 +59,7 @@
    float hue;
    int gpu_index;
    tree *hierarchy;
    #ifdef GPU
    float **input_gpu;
@@ -118,5 +131,9 @@
int get_network_nuisance(network net);
int get_network_background(network net);
#ifdef __cplusplus
}
#endif
#endif