AlexeyAB
2017-04-28 57b0fb14a6a3a4669b8bbd4b9c09407063eda61f
src/network.h
@@ -2,9 +2,15 @@
#ifndef NETWORK_H
#define NETWORK_H
#include "image.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
@@ -36,6 +42,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 +58,7 @@
    float hue;
    int gpu_index;
    tree *hierarchy;
    #ifdef GPU
    float **input_gpu;
@@ -118,5 +130,9 @@
int get_network_nuisance(network net);
int get_network_background(network net);
#ifdef __cplusplus
}
#endif
#endif