mirror of https://github.com/AlexeyAB/darknet.git
fix prototype
This commit is contained in:
parent
c3b06d096a
commit
994f955348
|
@ -10,7 +10,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
COST_TYPE get_cost_type(char *s);
|
COST_TYPE get_cost_type(char *s);
|
||||||
char *get_cost_string(COST_TYPE a);
|
char *get_cost_string(COST_TYPE a);
|
||||||
cost_layer make_cost_layer(int batch, int inputs, COST_TYPE type, float scale);
|
cost_layer make_cost_layer(int batch, int inputs, COST_TYPE cost_type, float scale);
|
||||||
void forward_cost_layer(const cost_layer l, network_state state);
|
void forward_cost_layer(const cost_layer l, network_state state);
|
||||||
void backward_cost_layer(const cost_layer l, network_state state);
|
void backward_cost_layer(const cost_layer l, network_state state);
|
||||||
void resize_cost_layer(cost_layer *l, int inputs);
|
void resize_cost_layer(cost_layer *l, int inputs);
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
layer make_normalization_layer(int batch, int w, int h, int c, int size, float alpha, float beta, float kappa);
|
layer make_normalization_layer(int batch, int w, int h, int c, int size, float alpha, float beta, float kappa);
|
||||||
void resize_normalization_layer(layer *layer, int h, int w);
|
void resize_normalization_layer(layer *layer, int w, int h);
|
||||||
void forward_normalization_layer(const layer layer, network_state state);
|
void forward_normalization_layer(const layer layer, network_state state);
|
||||||
void backward_normalization_layer(const layer layer, network_state state);
|
void backward_normalization_layer(const layer layer, network_state state);
|
||||||
void visualize_normalization_layer(layer layer, char *window);
|
void visualize_normalization_layer(layer layer, char *window);
|
||||||
|
|
|
@ -9,7 +9,7 @@ typedef layer region_layer;
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
region_layer make_region_layer(int batch, int h, int w, int n, int classes, int coords, int max_boxes);
|
region_layer make_region_layer(int batch, int w, int h, int n, int classes, int coords, int max_boxes);
|
||||||
void forward_region_layer(const region_layer l, network_state state);
|
void forward_region_layer(const region_layer l, network_state state);
|
||||||
void backward_region_layer(const region_layer l, network_state state);
|
void backward_region_layer(const region_layer l, network_state state);
|
||||||
void get_region_boxes(layer l, int w, int h, float thresh, float **probs, box *boxes, int only_objectness, int *map);
|
void get_region_boxes(layer l, int w, int h, float thresh, float **probs, box *boxes, int only_objectness, int *map);
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
layer make_reorg_layer(int batch, int h, int w, int c, int stride, int reverse);
|
layer make_reorg_layer(int batch, int w, int h, int c, int stride, int reverse);
|
||||||
void resize_reorg_layer(layer *l, int w, int h);
|
void resize_reorg_layer(layer *l, int w, int h);
|
||||||
void forward_reorg_layer(const layer l, network_state state);
|
void forward_reorg_layer(const layer l, network_state state);
|
||||||
void backward_reorg_layer(const layer l, network_state state);
|
void backward_reorg_layer(const layer l, network_state state);
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
layer make_reorg_old_layer(int batch, int h, int w, int c, int stride, int reverse);
|
layer make_reorg_old_layer(int batch, int w, int h, int c, int stride, int reverse);
|
||||||
void resize_reorg_old_layer(layer *l, int w, int h);
|
void resize_reorg_old_layer(layer *l, int w, int h);
|
||||||
void forward_reorg_old_layer(const layer l, network_state state);
|
void forward_reorg_old_layer(const layer l, network_state state);
|
||||||
void backward_reorg_old_layer(const layer l, network_state state);
|
void backward_reorg_old_layer(const layer l, network_state state);
|
||||||
|
|
Loading…
Reference in New Issue