FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
dnn_backend_native.h File Reference

DNN inference functions interface for native backend. More...

#include "dnn_interface.h"
#include "libavformat/avio.h"

Go to the source code of this file.

Data Structures

struct  Layer
 
struct  ConvolutionalParams
 
struct  InputParams
 
struct  DepthToSpaceParams
 
struct  ConvolutionalNetwork
 

Enumerations

enum  DNNLayerType { INPUT, CONV, DEPTH_TO_SPACE }
 
enum  DNNActivationFunc { RELU, TANH, SIGMOID }
 

Functions

DNNModelff_dnn_load_model_native (const char *model_filename)
 
DNNReturnType ff_dnn_execute_model_native (const DNNModel *model)
 
void ff_dnn_free_model_native (DNNModel **model)
 

Detailed Description

DNN inference functions interface for native backend.

Definition in file dnn_backend_native.h.

Enumeration Type Documentation

Enumerator
INPUT 
CONV 
DEPTH_TO_SPACE 

Definition at line 33 of file dnn_backend_native.h.

Enumerator
RELU 
TANH 
SIGMOID 

Definition at line 35 of file dnn_backend_native.h.

Function Documentation

DNNModel* ff_dnn_load_model_native ( const char *  model_filename)

Definition at line 96 of file dnn_backend_native.c.

Referenced by ff_get_dnn_module(), and load_native_model().

DNNReturnType ff_dnn_execute_model_native ( const DNNModel model)

Definition at line 283 of file dnn_backend_native.c.

Referenced by ff_get_dnn_module().

void ff_dnn_free_model_native ( DNNModel **  model)