FFmpeg
Data Structures | Enumerations | Functions
dnn_backend_native_layer_mathunary.h File Reference
#include "libavformat/avio.h"
#include "dnn_backend_native.h"

Go to the source code of this file.

Data Structures

struct  DnnLayerMathUnaryParams
 

Enumerations

enum  DNNMathUnaryOperation { DMUO_ABS = 0, DMUO_COUNT }
 

Functions

int dnn_load_layer_math_unary (Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num)
 
int dnn_execute_layer_math_unary (DnnOperand *operands, const int32_t *input_operand_indexes, int32_t output_operand_index, const void *parameters)
 

Detailed Description

DNN inference functions interface for native backend.

Definition in file dnn_backend_native_layer_mathunary.h.

Enumeration Type Documentation

◆ DNNMathUnaryOperation

Enumerator
DMUO_ABS 
DMUO_COUNT 

Definition at line 32 of file dnn_backend_native_layer_mathunary.h.

Function Documentation

◆ dnn_load_layer_math_unary()

int dnn_load_layer_math_unary ( Layer layer,
AVIOContext model_file_context,
int  file_size,
int  operands_num 
)

Definition at line 30 of file dnn_backend_native_layer_mathunary.c.

◆ dnn_execute_layer_math_unary()

int dnn_execute_layer_math_unary ( DnnOperand operands,
const int32_t input_operand_indexes,
int32_t  output_operand_index,
const void *  parameters 
)

Definition at line 53 of file dnn_backend_native_layer_mathunary.c.

Referenced by test().