Home
last modified time | relevance | path

Searched refs:bias_params (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dkernel_util_test.cc321 auto* bias_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() local
323 bias_params->scale = TfLiteFloatArrayCreate(3); in TEST_F()
324 bias_params->scale->data[0] = 0.125; in TEST_F()
325 bias_params->scale->data[1] = 0.0625; in TEST_F()
326 bias_params->scale->data[2] = 0.125; in TEST_F()
327 bias_params->zero_point = TfLiteIntArrayCreate(3); in TEST_F()
328 bias_params->zero_point->data[0] = 11; in TEST_F()
329 bias_params->zero_point->data[1] = 12; in TEST_F()
330 bias_params->zero_point->data[2] = 15; in TEST_F()
331 bias.quantization.params = reinterpret_cast<void*>(bias_params); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Ddefault_quant_params.cc138 quant::QuantParams bias_params = GetQuantParamsForBias( in runOnFunction() local
140 if (!bias_params) continue; in runOnFunction()
141 QuantizeValue(builder, bias, bias_params); in runOnFunction()