Go to the documentation of this file.
54 int32_t output_operand_index,
const void *parameters)
63 for (
int i = 0;
i < 4; ++
i)
78 switch (params->
un_op) {
80 for (
int i = 0;
i < dims_count; ++
i)
int32_t calculate_operand_data_length(const DnnOperand *oprd)
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce output
DNNMathUnaryOperation un_op
#define FFABS(a)
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable ...
unsigned int avio_rl32(AVIOContext *s)
int32_t output_operand_index
int32_t input_operand_indexes[4]
a layer can have multiple inputs and one output.
int32_t calculate_operand_dims_count(const DnnOperand *oprd)
and forward the test the status of outputs and forward it to the corresponding return FFERROR_NOT_READY If the filters stores internally one or a few frame for some input
void * av_realloc(void *ptr, size_t size)
Allocate, reallocate, or free a block of memory.
#define i(width, name, range_min, range_max)
int dnn_load_layer_math_unary(Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num)
int dnn_execute_layer_math_unary(DnnOperand *operands, const int32_t *input_operand_indexes, int32_t output_operand_index, const void *parameters)