FFmpeg
Data Structures | Enumerations | Functions
dnn_backend_native_layer_pad.h File Reference
#include <stdint.h>
#include "dnn_backend_native.h"

Go to the source code of this file.

Data Structures

struct  LayerPadParams
 

Enumerations

enum  LayerPadModeParam { LPMP_CONSTANT, LPMP_REFLECT, LPMP_SYMMETRIC }
 

Functions

int ff_dnn_load_layer_pad (Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num)
 
int ff_dnn_execute_layer_pad (DnnOperand *operands, const int32_t *input_operand_indexes, int32_t output_operand_index, const void *parameters, NativeContext *ctx)
 

Detailed Description

layer pad (equivalent to tf.pad) for native backend.

Definition in file dnn_backend_native_layer_pad.h.

Enumeration Type Documentation

◆ LayerPadModeParam

Enumerator
LPMP_CONSTANT 
LPMP_REFLECT 
LPMP_SYMMETRIC 

Definition at line 31 of file dnn_backend_native_layer_pad.h.

Function Documentation

◆ ff_dnn_load_layer_pad()

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

Definition at line 25 of file dnn_backend_native_layer_pad.c.

◆ ff_dnn_execute_layer_pad()

int ff_dnn_execute_layer_pad ( DnnOperand operands,
const int32_t input_operand_indexes,
int32_t  output_operand_index,
const void *  parameters,
NativeContext ctx 
)