FFmpeg
|
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) |
layer pad (equivalent to tf.pad) for native backend.
Definition in file dnn_backend_native_layer_pad.h.
enum LayerPadModeParam |
Enumerator | |
---|---|
LPMP_CONSTANT | |
LPMP_REFLECT | |
LPMP_SYMMETRIC |
Definition at line 31 of file dnn_backend_native_layer_pad.h.
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.
int ff_dnn_execute_layer_pad | ( | DnnOperand * | operands, |
const int32_t * | input_operand_indexes, | ||
int32_t | output_operand_index, | ||
const void * | parameters, | ||
NativeContext * | ctx | ||
) |
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().