Home
last modified time | relevance | path

Searched refs:biases (Results 1 - 12 of 12) sorted by relevance

/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_dense.c59 dense_params->biases = NULL; in ff_dnn_load_layer_dense()
61 dense_params->biases = av_malloc(dense_params->output_num * sizeof(float)); in ff_dnn_load_layer_dense()
62 if (!dense_params->biases){ in ff_dnn_load_layer_dense()
68 dense_params->biases[i] = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_dense()
122 output[n_filter] = dense_params->biases[n_filter]; in ff_dnn_execute_layer_dense()
H A Ddnn_backend_native_layer_conv2d.c85 conv_params->biases = NULL; in ff_dnn_load_layer_conv2d()
87 conv_params->biases = av_malloc_array(conv_params->output_num, sizeof(*conv_params->biases)); in ff_dnn_load_layer_conv2d()
88 if (!conv_params->biases){ in ff_dnn_load_layer_conv2d()
94 conv_params->biases[i] = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_conv2d()
139 output[n_filter] = conv_params->biases[n_filter]; in dnn_execute_layer_conv2d_thread()
H A Ddnn_backend_native_layer_conv2d.h34 float *biases; member
H A Ddnn_backend_native_layer_dense.h31 float *biases; member
H A Ddnn_backend_native.c137 // For CONV layer: activation_function, input_num, output_num, kernel_size, kernel, biases
530 av_freep(&conv_params->biases); in ff_dnn_free_model_native()
H A Ddnn_backend_tf.c564 memcpy(TF_TensorData(biases_tensor), params->biases, params->output_num * sizeof(float)); in add_conv_layer()
/third_party/ffmpeg/libavfilter/
H A Dvf_convolution_opencl.c50 cl_float biases[4]; member
114 ctx->biases[i] = ctx->biases[i] / 255.0; in convolution_opencl_make_filter_params()
228 CL_SET_KERNEL_ARG(ctx->kernel, 5, cl_float, &ctx->biases[p]); in convolution_opencl_filter_frame()
356 { "0bias", "set bias for 1st plane", OFFSET(biases[0]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS},
357 { "1bias", "set bias for 2nd plane", OFFSET(biases[1]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS},
358 { "2bias", "set bias for 3rd plane", OFFSET(biases[2]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS},
359 { "3bias", "set bias for 4th plane", OFFSET(biases[3]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MAX, FLAGS},
/third_party/skia/src/gpu/gradients/
H A DGrGradientShader.cpp111 // Derive scale and biases from the 4 colors and threshold in make_dual_interval_colorizer()
333 // Converts an input array of {colors, positions} into an array of {scales, biases, thresholds}.
386 SkPMColor4f biases[kMaxUnrolledIntervalCount]; in make_unrolled_binary_colorizer() local
389 kMaxUnrolledIntervalCount, scales, biases, thresholds); in make_unrolled_binary_colorizer()
397 return make_unrolled_colorizer(intervalCount, scales, biases, thresholds1_7, thresholds9_13); in make_unrolled_binary_colorizer()
409 SkPMColor4f biases[kMaxLoopingIntervalCount]; in make_looping_binary_colorizer() local
412 kMaxLoopingIntervalCount, scales, biases, thresholds); in make_looping_binary_colorizer()
425 biases[intervalCount] = biases[intervalCount - 1]; in make_looping_binary_colorizer()
428 return make_looping_colorizer(intervalCount, scales, biases, threshold in make_looping_binary_colorizer()
[all...]
/third_party/ffmpeg/libavfilter/tests/
H A Ddnn-layer-conv2d.c105 params.biases = bias; in test_with_same_dilate()
209 params.biases = bias; in test_with_valid()
H A Ddnn-layer-dense.c97 params.biases = bias; in test()
/third_party/ffmpeg/tests/dnn/
H A Ddnn-layer-conv2d-test.c105 params.biases = bias; in test_with_same_dilate()
209 params.biases = bias; in test_with_valid()
H A Ddnn-layer-dense-test.c97 params.biases = bias; in test()

Completed in 8 milliseconds