FFmpeg
Data Fields
Layer Struct Reference

#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
 

Detailed Description

Definition at line 57 of file dnn_backend_native.h.

Field Documentation

◆ type

DNNLayerType Layer::type

◆ input_operand_indexes

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().

◆ output_operand_index

int32_t Layer::output_operand_index

◆ params

void* Layer::params

The documentation for this struct was generated from the following file: