FFmpeg
|
#include <dnn_backend_native.h>
Data Fields | |
DNNLayerType | type |
int32_t | input_operand_indexes [4] |
a layer can have multiple inputs and one output. More... | |
int32_t | output_operand_index |
void * | params |
Definition at line 57 of file dnn_backend_native.h.
DNNLayerType Layer::type |
Definition at line 58 of file dnn_backend_native.h.
Referenced by execute_model_native(), ff_dnn_free_model_native(), ff_dnn_load_model_native(), and load_native_model().
int32_t Layer::input_operand_indexes[4] |
a layer can have multiple inputs and one output.
4 is just a big enough number for input operands (increase it if necessary), do not use 'int32_t *input_operand_indexes', so we don't worry about mem leaks.
Definition at line 64 of file dnn_backend_native.h.
Referenced by execute_model_native(), ff_dnn_load_layer_avg_pool(), ff_dnn_load_layer_conv2d(), ff_dnn_load_layer_dense(), ff_dnn_load_layer_depth2space(), ff_dnn_load_layer_math_binary(), ff_dnn_load_layer_math_unary(), ff_dnn_load_layer_maximum(), and ff_dnn_load_layer_pad().
int32_t Layer::output_operand_index |
Definition at line 65 of file dnn_backend_native.h.
Referenced by execute_model_native(), ff_dnn_load_layer_avg_pool(), ff_dnn_load_layer_conv2d(), ff_dnn_load_layer_dense(), ff_dnn_load_layer_depth2space(), ff_dnn_load_layer_math_binary(), ff_dnn_load_layer_math_unary(), ff_dnn_load_layer_maximum(), and ff_dnn_load_layer_pad().
void* Layer::params |
Definition at line 66 of file dnn_backend_native.h.
Referenced by execute_model_native(), ff_dnn_free_model_native(), ff_dnn_load_layer_avg_pool(), ff_dnn_load_layer_conv2d(), ff_dnn_load_layer_dense(), ff_dnn_load_layer_depth2space(), ff_dnn_load_layer_math_binary(), ff_dnn_load_layer_math_unary(), ff_dnn_load_layer_maximum(), ff_dnn_load_layer_pad(), and load_native_model().