27 #ifndef AVFILTER_DNN_BACKEND_NATIVE_H 28 #define AVFILTER_DNN_BACKEND_NATIVE_H 33 typedef enum {INPUT, CONV, DEPTH_TO_SPACE} DNNLayerType;
35 typedef enum {RELU, TANH, SIGMOID} DNNActivationFunc;
44 int32_t input_num, output_num, kernel_size;
45 DNNActivationFunc activation;
51 int height, width, channels;
64 DNNModel *ff_dnn_load_model_native(
const char *model_filename);
66 DNNReturnType ff_dnn_execute_model_native(
const DNNModel *model);
68 void ff_dnn_free_model_native(
DNNModel **model);
Definition: dnn_backend_native.h:59
DNN inference engine interface.
Definition: dnn_backend_native.h:54
Definition: dnn_backend_native.h:43
Definition: dnn_interface.h:38
Definition: dnn_backend_native.h:37