Searched refs:conv_params (Results 1 – 2 of 2) sorted by relevance
48 ConvolutionalParams *conv_params; in ff_dnn_load_layer_conv2d() local51 conv_params = av_malloc(sizeof(*conv_params)); in ff_dnn_load_layer_conv2d()52 if (!conv_params) in ff_dnn_load_layer_conv2d()55 conv_params->dilation = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d()56 conv_params->padding_method = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d()57 conv_params->activation = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d()58 conv_params->input_num = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d()59 conv_params->output_num = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d()60 conv_params->kernel_size = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d()61 conv_params->has_bias = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d()[all …]
518 ConvolutionalParams *conv_params; in ff_dnn_free_model_native() local528 conv_params = (ConvolutionalParams *)native_model->layers[layer].params; in ff_dnn_free_model_native()529 av_freep(&conv_params->kernel); in ff_dnn_free_model_native()530 av_freep(&conv_params->biases); in ff_dnn_free_model_native()