FFmpeg
|
#include "dnn_backend_native.h"
#include "libavutil/avassert.h"
#include "dnn_backend_native_layer_conv2d.h"
#include "dnn_backend_native_layers.h"
Go to the source code of this file.
Functions | |
static DNNReturnType | get_input_native (void *model, DNNData *input, const char *input_name) |
static DNNReturnType | set_input_output_native (void *model, DNNData *input, const char *input_name, const char **output_names, uint32_t nb_output) |
DNNModel * | ff_dnn_load_model_native (const char *model_filename) |
DNNReturnType | ff_dnn_execute_model_native (const DNNModel *model, DNNData *outputs, uint32_t nb_output) |
int32_t | calculate_operand_dims_count (const DnnOperand *oprd) |
int32_t | calculate_operand_data_length (const DnnOperand *oprd) |
void | ff_dnn_free_model_native (DNNModel **model) |
DNN native backend implementation.
Definition in file dnn_backend_native.c.
|
static |
Definition at line 31 of file dnn_backend_native.c.
Referenced by ff_dnn_load_model_native().
|
static |
Definition at line 53 of file dnn_backend_native.c.
Referenced by ff_dnn_load_model_native().
DNNModel* ff_dnn_load_model_native | ( | const char * | model_filename | ) |
check file header with string and version
Definition at line 118 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, |
DNNData * | outputs, | ||
uint32_t | nb_output | ||
) |
Definition at line 257 of file dnn_backend_native.c.
Referenced by ff_get_dnn_module().
int32_t calculate_operand_dims_count | ( | const DnnOperand * | oprd | ) |
Definition at line 288 of file dnn_backend_native.c.
Referenced by dnn_execute_layer_math_binary(), dnn_execute_layer_math_unary(), and dnn_execute_layer_maximum().
int32_t calculate_operand_data_length | ( | const DnnOperand * | oprd | ) |
Definition at line 297 of file dnn_backend_native.c.
Referenced by dnn_execute_layer_conv2d(), dnn_execute_layer_depth2space(), dnn_execute_layer_math_binary(), dnn_execute_layer_math_unary(), dnn_execute_layer_maximum(), dnn_execute_layer_pad(), and set_input_output_native().
void ff_dnn_free_model_native | ( | DNNModel ** | model | ) |
Definition at line 309 of file dnn_backend_native.c.
Referenced by ff_dnn_load_model_native(), ff_get_dnn_module(), and load_native_model().