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

 

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 ( Layerlayer,
AVIOContextmodel_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 ( DnnOperandoperands,
const int32_tinput_operand_indexes,
int32_t  output_operand_index,
const void *  parameters,
NativeContextctx 
)

Definition at line 78 of file dnn_backend_native_layer_pad.c.

Referenced by test_with_mode_constant(), test_with_mode_reflect(), and test_with_mode_symmetric().


Generated on Wed Aug 24 2022 21:42:39 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /