darknet/src/network.h

30 lines
597 B
C
Raw Normal View History

2013-11-04 23:11:01 +04:00
// Oh boy, why am I about to do this....
#ifndef NETWORK_H
#define NETWORK_H
2017-06-02 06:31:13 +03:00
#include "darknet.h"
2013-11-04 23:11:01 +04:00
#include "image.h"
2015-05-11 23:46:49 +03:00
#include "layer.h"
2013-11-13 22:50:38 +04:00
#include "data.h"
2016-10-21 23:16:43 +03:00
#include "tree.h"
2013-11-04 23:11:01 +04:00
2014-12-17 02:34:10 +03:00
#ifdef GPU
void pull_network_output(network *net);
2014-12-17 02:34:10 +03:00
#endif
2014-08-28 06:11:46 +04:00
void compare_networks(network *n1, network *n2, data d);
2015-01-14 23:18:57 +03:00
char *get_layer_string(LAYER_TYPE a);
2014-12-18 22:28:42 +03:00
network *make_network(int n);
2017-06-08 23:47:31 +03:00
float network_accuracy_multi(network *net, data d, int n);
int get_predicted_class_network(network *net);
void print_network(network *net);
2015-07-08 10:36:43 +03:00
int resize_network(network *net, int w, int h);
void calc_network_cost(network *net);
2013-11-04 23:11:01 +04:00
#endif