mirror of https://github.com/AlexeyAB/darknet.git
feat: Move set_batch_network to public API (#8782)
This commit is contained in:
parent
5915c2e09a
commit
d2c3788539
|
@ -1032,6 +1032,7 @@ LIB_API void diounms_sort(detection *dets, int total, int classes, float thresh,
|
||||||
// network.h
|
// network.h
|
||||||
LIB_API float *network_predict(network net, float *input);
|
LIB_API float *network_predict(network net, float *input);
|
||||||
LIB_API float *network_predict_ptr(network *net, float *input);
|
LIB_API float *network_predict_ptr(network *net, float *input);
|
||||||
|
LIB_API void set_batch_network(network *net, int b);
|
||||||
LIB_API detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int *map, int relative, int *num, int letter);
|
LIB_API detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int *map, int relative, int *num, int letter);
|
||||||
LIB_API det_num_pair* network_predict_batch(network *net, image im, int batch_size, int w, int h, float thresh, float hier, int *map, int relative, int letter);
|
LIB_API det_num_pair* network_predict_batch(network *net, image im, int batch_size, int w, int h, float thresh, float hier, int *map, int relative, int letter);
|
||||||
LIB_API void free_detections(detection *dets, int n);
|
LIB_API void free_detections(detection *dets, int n);
|
||||||
|
|
|
@ -144,7 +144,7 @@ int get_predicted_class_network(network net);
|
||||||
void print_network(network net);
|
void print_network(network net);
|
||||||
void visualize_network(network net);
|
void visualize_network(network net);
|
||||||
int resize_network(network *net, int w, int h);
|
int resize_network(network *net, int w, int h);
|
||||||
void set_batch_network(network *net, int b);
|
//LIB_API void set_batch_network(network *net, int b);
|
||||||
int get_network_input_size(network net);
|
int get_network_input_size(network net);
|
||||||
float get_network_cost(network net);
|
float get_network_cost(network net);
|
||||||
//LIB_API layer* get_network_layer(network* net, int i);
|
//LIB_API layer* get_network_layer(network* net, int i);
|
||||||
|
|
Loading…
Reference in New Issue