Home
last modified time | relevance | path

Searched refs:filter_scale (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/lite/micro/coder/opcoders/cmsis-nn/int8/
Dconv2d_base_coder.cc39 const auto filter_scale = static_cast<double>(filter_quant_args[i].scale_); in SetQuantArgs() local
41 const double effective_output_scale = input_scale * filter_scale / output_scale; in SetQuantArgs()
48 const auto filter_scale = static_cast<double>(filter_quant_args[0].scale_); in SetQuantArgs() local
50 const double effective_output_scale = input_scale * filter_scale / output_scale; in SetQuantArgs()
/third_party/mindspore/mindspore/lite/micro/example/mnist_x86/src/
Dnet.c130 float filter_scale[1] = {0.007667620200663805008}; in Inference() local
135 …615470826625824, 31}, {0, 0}, {0.3623915016651153564, 11}, -128, 127, filter_scale, filter_zp, lef… in Inference()
146 float filter_scale[1] = {0.006908571347594261169}; in Inference() local
151 …915016651153564, 11}, {0, 0}, {1.073398709297180176, -20}, -128, 127, filter_scale, filter_zp, lef… in Inference()
/third_party/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp166 static void filter_scale(const SkBitmapProcState& s, in filter_scale() function
251 …nofilter_scale <clamp, clamp, true>, filter_scale <clamp, clamp, extract_low_bits_clamp_clamp, tru…
255 …nofilter_scale <repeat, repeat, false>, filter_scale <repeat, repeat, extract_low_bits_general, fa…
259 …nofilter_scale <mirror, mirror, false>, filter_scale <mirror, mirror, extract_low_bits_general, f…
/third_party/ffmpeg/libavfilter/
Dvf_w3fdif.c174 static void filter_scale(uint8_t *out_pixel, const int32_t *work_pixel, int linesize, int max) in filter_scale() function
318 s->dsp.filter_scale = filter_scale; in config_input()
324 s->dsp.filter_scale = filter16_scale; in config_input()
462 s->dsp.filter_scale(out_pixel, work_pixel, linesize, max); in deinterlace_plane_slice()
Dw3fdif.h42 void (*filter_scale)(uint8_t *out_pixel, const int32_t *work_pixel, member
/third_party/ffmpeg/libavfilter/x86/
Dvf_w3fdif_init.c57 dsp->filter_scale = ff_w3fdif_scale_sse2; in ff_w3fdif_init_x86()
/third_party/flutter/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp141 static void filter_scale(const SkBitmapProcState& s, in filter_scale() function
212 filter_scale<mirror, extract_low_bits_repeat_mirror, false>,
583 filter_scale<clamp, extract_low_bits_clamp, true>,
588 filter_scale<repeat, extract_low_bits_repeat_mirror, false>,
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfull_quant_quantizer.cc81 double filter_scale = std::abs(raw_datas[i]) / (activate_scale * quanted_bias_abs_limit); in ComputeBiasDataAndQuantParam() local
82 weight_quant_params[i].scale = filter_scale; in ComputeBiasDataAndQuantParam()
87 MS_LOG(DEBUG) << "new filter scale: " << filter_scale; in ComputeBiasDataAndQuantParam()
111 double filter_scale = std::abs(max_raw_data) / (activate_scale * quanted_bias_abs_limit); in ComputeBiasDataAndQuantParam() local
112 weight_quant_params[0].scale = filter_scale; in ComputeBiasDataAndQuantParam()
117 MS_LOG(DEBUG) << "new filter scale: " << filter_scale; in ComputeBiasDataAndQuantParam()