/third_party/ffmpeg/libavfilter/dnn/ |
D | dnn_backend_native_layer_conv2d.c | 49 int kernel_size; in ff_dnn_load_layer_conv2d() local 60 conv_params->kernel_size = (int32_t)avio_rl32(model_file_context); in ff_dnn_load_layer_conv2d() 64 kernel_size = conv_params->input_num * conv_params->output_num * in ff_dnn_load_layer_conv2d() 65 conv_params->kernel_size * conv_params->kernel_size; in ff_dnn_load_layer_conv2d() 66 dnn_size += kernel_size * 4; in ff_dnn_load_layer_conv2d() 71 conv_params->output_num <= 0 || conv_params->kernel_size <= 0){ in ff_dnn_load_layer_conv2d() 76 conv_params->kernel = av_malloc_array(kernel_size, sizeof(*conv_params->kernel)); in ff_dnn_load_layer_conv2d() 81 for (int i = 0; i < kernel_size; ++i) { in ff_dnn_load_layer_conv2d() 124 int radius = conv_params->kernel_size >> 1; in dnn_execute_layer_conv2d_thread() 126 int filter_linesize = conv_params->kernel_size * conv_params->input_num; in dnn_execute_layer_conv2d_thread() [all …]
|
D | dnn_backend_native_layer_avgpool.c | 39 avgpool_params->kernel_size = (int32_t)avio_rl32(model_file_context); 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() 87 height_radius = avgpool_params->kernel_size - ((height - 1) % kernel_strides + 1); in ff_dnn_execute_layer_avg_pool() 88 width_radius = avgpool_params->kernel_size - ((width - 1) % kernel_strides + 1); in ff_dnn_execute_layer_avg_pool() 95 height_end = height - avgpool_params->kernel_size + 1; in ff_dnn_execute_layer_avg_pool() 96 width_end = width - avgpool_params->kernel_size + 1; in ff_dnn_execute_layer_avg_pool() 99 output_height = ceil((height - avgpool_params->kernel_size + 1) / (kernel_strides * 1.0)); in ff_dnn_execute_layer_avg_pool() 100 output_width = ceil((width - avgpool_params->kernel_size + 1) / (kernel_strides * 1.0)); in ff_dnn_execute_layer_avg_pool() 126 for (int kernel_y = 0; kernel_y < avgpool_params->kernel_size; ++kernel_y) { in ff_dnn_execute_layer_avg_pool() 127 for (int kernel_x = 0; kernel_x < avgpool_params->kernel_size; ++kernel_x) { in ff_dnn_execute_layer_avg_pool()
|
D | dnn_backend_native_layer_dense.c | 27 int kernel_size; in ff_dnn_load_layer_dense() local 39 kernel_size = dense_params->input_num * dense_params->output_num; in ff_dnn_load_layer_dense() 40 dnn_size += kernel_size * 4; in ff_dnn_load_layer_dense() 50 dense_params->kernel = av_malloc(kernel_size * sizeof(float)); in ff_dnn_load_layer_dense() 55 for (int i = 0; i < kernel_size; ++i) { in ff_dnn_load_layer_dense()
|
D | dnn_backend_native_layer_avgpool.h | 32 int32_t strides, kernel_size; member
|
D | dnn_backend_native_layer_conv2d.h | 28 int32_t input_num, output_num, kernel_size; member
|
D | dnn_backend_tf.c | 331 size = params->input_num * params->output_num * params->kernel_size * params->kernel_size; in add_conv_layer() 338 dims[1] = params->kernel_size; in add_conv_layer() 339 dims[2] = params->kernel_size; in add_conv_layer()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pipeline_cache.c | 71 const void *kernel_data, uint32_t kernel_size, in anv_shader_bin_create() argument 107 anv_state_pool_alloc(&device->instruction_state_pool, kernel_size, 64); in anv_shader_bin_create() 108 memcpy(shader->kernel.map, kernel_data, kernel_size); in anv_shader_bin_create() 109 shader->kernel_size = kernel_size; in anv_shader_bin_create() 192 blob_write_uint32(blob, shader->kernel_size); in anv_shader_bin_serialize() 193 blob_write_bytes(blob, shader->kernel.map, shader->kernel_size); in anv_shader_bin_serialize() 244 uint32_t kernel_size = blob_read_uint32(blob); in anv_shader_bin_deserialize() local 245 const void *kernel_data = blob_read_bytes(blob, kernel_size); in anv_shader_bin_deserialize() 288 kernel_data, kernel_size, in anv_shader_bin_deserialize() 326 const void *kernel_data, uint32_t kernel_size, in anv_device_upload_kernel() argument [all …]
|
D | anv_private.h | 1140 const void *kernel_data, uint32_t kernel_size, 3026 uint32_t kernel_size; member 3043 const void *kernel, uint32_t kernel_size,
|
D | anv_blorp.c | 54 const void *kernel, uint32_t kernel_size, in upload_blorp_shader() argument 69 key, key_size, kernel, kernel_size, in upload_blorp_shader()
|
/third_party/ffmpeg/libavfilter/ |
D | af_anlms.c | 50 int kernel_size; member 120 output = s->fdsp->scalarproduct_float(delay, tmp, s->kernel_size); in fir_sample() 143 sum = s->fdsp->scalarproduct_float(delay, delay, s->kernel_size); in process_sample() 150 s->fdsp->vector_fmul_scalar(coeffs, coeffs, a, s->kernel_size); in process_sample() 152 s->fdsp->vector_fmac_scalar(coeffs, tmp, b, s->kernel_size); in process_sample() 258 s->kernel_size = FFALIGN(s->order, 16); in config_output() 263 s->delay = ff_get_audio_buffer(outlink, 2 * s->kernel_size); in config_output() 265 s->coeffs = ff_get_audio_buffer(outlink, 2 * s->kernel_size); in config_output() 267 s->tmp = ff_get_audio_buffer(outlink, s->kernel_size); in config_output()
|
/third_party/ffmpeg/tests/dnn/ |
D | dnn-layer-avgpool-test.c | 83 params.kernel_size = 2; in test_with_same() 163 params.kernel_size = 2; in test_with_valid()
|
D | dnn-layer-conv2d-test.c | 109 params.kernel_size = 3; in test_with_same_dilate() 213 params.kernel_size = 3; in test_with_valid()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_program_cache.c | 260 const void *kernel, uint32_t kernel_size, in crocus_blorp_upload_shader() argument 275 ice, CROCUS_CACHE_BLORP, key_size, key, kernel, kernel_size, prog_data, in crocus_blorp_upload_shader()
|
D | crocus_context.h | 931 const void *kernel, uint32_t kernel_size,
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.h | 58 const void *kernel, uint32_t kernel_size,
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program_cache.c | 224 const void *kernel, UNUSED uint32_t kernel_size, in iris_blorp_upload_shader() argument
|
D | iris_context.h | 1054 const void *kernel, uint32_t kernel_size,
|
/third_party/mindspore/patches/ |
D | 0006-remove-lite-expression-fix-double-loadso.patch | 3728 - prim->kernel_size = {conv_param->kernel_h_, conv_param->kernel_w_}; 3759 - prim->kernel_size = {conv_param->kernel_h_, conv_param->kernel_w_}; 3788 - prim->kernel_size = {conv_param->kernel_h_, conv_param->kernel_w_}; 4495 - prim->kernel_size = {param->window_h_, param->window_w_}; 4514 - prim->kernel_size = {param->window_h_, param->window_w_};
|
D | 0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch | 1937 + fbb.CreateVector(value->kernel_size()->data(), value->kernel_size()->size()), 1955 …const std::vector<int64_t> &kernel_size, const std::vector<int64_t> &stride, const std::vector<int…
|