Searched refs:dnn_size (Results 1 – 9 of 9) sorted by relevance
103 int dnn_size = 0; in ff_dnn_load_layer_math_binary() local107 dnn_size += 4; in ff_dnn_load_layer_math_binary()110 dnn_size += 4; in ff_dnn_load_layer_math_binary()120 dnn_size += 4; in ff_dnn_load_layer_math_binary()123 dnn_size += 4; in ff_dnn_load_layer_math_binary()133 dnn_size += 4; in ff_dnn_load_layer_math_binary()136 dnn_size += 4; in ff_dnn_load_layer_math_binary()145 return dnn_size; in ff_dnn_load_layer_math_binary()
28 int dnn_size = 0; in ff_dnn_load_layer_dense() local37 dnn_size += 16; in ff_dnn_load_layer_dense()40 dnn_size += kernel_size * 4; in ff_dnn_load_layer_dense()42 dnn_size += dense_params->output_num * 4; in ff_dnn_load_layer_dense()44 if (dnn_size > file_size || dense_params->input_num <= 0 || in ff_dnn_load_layer_dense()76 dnn_size += 8; in ff_dnn_load_layer_dense()82 return dnn_size; in ff_dnn_load_layer_dense()
148 int file_size, dnn_size, parsed_size; in ff_dnn_load_model_native() local168 dnn_size = sizeof(buf); in ff_dnn_load_model_native()171 dnn_size += 4; in ff_dnn_load_model_native()178 dnn_size += 4; in ff_dnn_load_model_native()179 header_size = dnn_size; in ff_dnn_load_model_native()208 dnn_size += 8; in ff_dnn_load_model_native()233 dnn_size += 4; in ff_dnn_load_model_native()244 dnn_size += parsed_size; in ff_dnn_load_model_native()251 dnn_size += 4; in ff_dnn_load_model_native()259 dnn_size += 4; in ff_dnn_load_model_native()[all …]
32 int dnn_size = 0; in ff_dnn_load_layer_maximum() local38 dnn_size += 4; in ff_dnn_load_layer_maximum()42 dnn_size += 8; in ff_dnn_load_layer_maximum()48 return dnn_size; in ff_dnn_load_layer_maximum()
32 int dnn_size = 0; in ff_dnn_load_layer_avg_pool() local40 dnn_size += 12; in ff_dnn_load_layer_avg_pool()42 if (dnn_size > file_size || avgpool_params->kernel_size <= 0 || avgpool_params->strides <=0){ in ff_dnn_load_layer_avg_pool()50 dnn_size += 8; in ff_dnn_load_layer_avg_pool()55 return dnn_size; in ff_dnn_load_layer_avg_pool()
50 int dnn_size = 0; in ff_dnn_load_layer_conv2d() local62 dnn_size += 28; in ff_dnn_load_layer_conv2d()66 dnn_size += kernel_size * 4; in ff_dnn_load_layer_conv2d()68 dnn_size += conv_params->output_num * 4; in ff_dnn_load_layer_conv2d()70 if (dnn_size > file_size || conv_params->input_num <= 0 || in ff_dnn_load_layer_conv2d()102 dnn_size += 8; in ff_dnn_load_layer_conv2d()108 return dnn_size; in ff_dnn_load_layer_conv2d()
32 int dnn_size = 0; in ff_dnn_load_layer_depth2space() local38 dnn_size += 4; in ff_dnn_load_layer_depth2space()41 dnn_size += 8; in ff_dnn_load_layer_depth2space()48 return dnn_size; in ff_dnn_load_layer_depth2space()
34 int dnn_size = 0; in ff_dnn_load_layer_math_unary() local40 dnn_size += 4; in ff_dnn_load_layer_math_unary()44 dnn_size += 8; in ff_dnn_load_layer_math_unary()50 return dnn_size; in ff_dnn_load_layer_math_unary()
28 int dnn_size = 0; in ff_dnn_load_layer_pad() local34 dnn_size += 4; in ff_dnn_load_layer_pad()38 dnn_size += 8; in ff_dnn_load_layer_pad()42 dnn_size += 8; in ff_dnn_load_layer_pad()49 return dnn_size; in ff_dnn_load_layer_pad()