Joseph Redmon
2015-06-13 d572dc7e667a0e3e95be3f3e72fd6d395e69da6b
src/network.h
@@ -4,22 +4,9 @@
#include "image.h"
#include "detection_layer.h"
#include "params.h"
#include "layer.h"
#include "data.h"
typedef enum {
    CONVOLUTIONAL,
    DECONVOLUTIONAL,
    CONNECTED,
    MAXPOOL,
    SOFTMAX,
    DETECTION,
    NORMALIZATION,
    DROPOUT,
    CROP,
    COST
} LAYER_TYPE;
typedef struct {
    int n;
    int batch;
@@ -28,8 +15,7 @@
    float learning_rate;
    float momentum;
    float decay;
    void **layers;
    LAYER_TYPE *types;
    layer *layers;
    int outputs;
    float *output;
@@ -83,7 +69,7 @@
void set_batch_network(network *net, int b);
int get_network_input_size(network net);
float get_network_cost(network net);
detection_layer *get_network_detection_layer(network net);
detection_layer get_network_detection_layer(network net);
int get_network_nuisance(network net);
int get_network_background(network net);