Home
last modified time | relevance | path

Searched refs:quantization_params (Results 1 – 7 of 7) sorted by relevance

/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/internal/
Dquantization_util.h45 QuantizationParams quantization_params; in ChooseQuantizationParams() local
46 quantization_params.zero_point = 0; in ChooseQuantizationParams()
47 quantization_params.scale = 0.; in ChooseQuantizationParams()
48 return quantization_params; in ChooseQuantizationParams()
95 QuantizationParams quantization_params; in ChooseQuantizationParams() local
96 quantization_params.zero_point = nudged_zero_point; in ChooseQuantizationParams()
97 quantization_params.scale = scale; in ChooseQuantizationParams()
98 return quantization_params; in ChooseQuantizationParams()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/
Dquantize_common.cc71 data->quantization_params.zero_point = output->params.zero_point; in PrepareQuantizeReference()
72 data->quantization_params.scale = static_cast<double>(output->params.scale); in PrepareQuantizeReference()
89 data->quantization_params, tflite::micro::GetTensorShape(input), in EvalQuantizeReference()
96 data->quantization_params, tflite::micro::GetTensorShape(input), in EvalQuantizeReference()
114 data->input_zero_point, data->quantization_params.zero_point, in EvalQuantizeReference()
121 data->input_zero_point, data->quantization_params.zero_point, in EvalQuantizeReference()
128 data->input_zero_point, data->quantization_params.zero_point, in EvalQuantizeReference()
146 data->input_zero_point, data->quantization_params.zero_point, in EvalQuantizeReference()
153 data->input_zero_point, data->quantization_params.zero_point, in EvalQuantizeReference()
160 data->input_zero_point, data->quantization_params.zero_point, in EvalQuantizeReference()
Ddequantize.cc33 tflite::DequantizationParams quantization_params; member
72 data->quantization_params.zero_point = input->params.zero_point; in Prepare()
73 data->quantization_params.scale = static_cast<double>(input->params.scale); in Prepare()
88 reference_ops::Dequantize(data->quantization_params, in Eval()
95 reference_ops::Dequantize(data->quantization_params, in Eval()
102 reference_ops::Dequantize(data->quantization_params, in Eval()
Dquantize.h24 tflite::QuantizationParams quantization_params; member
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/
Drecording_micro_allocator_test.cc211 const tflite::QuantizationParameters* quantization_params = in TF_LITE_MICRO_TEST() local
213 if (quantization_params && quantization_params->scale() && in TF_LITE_MICRO_TEST()
214 quantization_params->scale()->size() > 0 && in TF_LITE_MICRO_TEST()
215 quantization_params->zero_point() && in TF_LITE_MICRO_TEST()
216 quantization_params->zero_point()->size() > 0) { in TF_LITE_MICRO_TEST()
217 size_t num_channels = quantization_params->scale()->size(); in TF_LITE_MICRO_TEST()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/xtensa/
Dquantize.cc139 op_data->input_zero_point, op_data->quantization_params.zero_point, in EvalXtensa()
150 op_data->input_zero_point, op_data->quantization_params.zero_point, in EvalXtensa()
167 int32_t zero_point = op_data->quantization_params.zero_point; in EvalXtensa()
177 op_data->quantization_params.zero_point, in EvalXtensa()
244 op_data->quantization_params.zero_point = output->params.zero_point; in Prepare()
245 op_data->quantization_params.scale = in Prepare()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/ceva/
Dquantize.cc58 data->quantization_params.scale, in EvalCEVA()
59 data->quantization_params.zero_point); in EvalCEVA()