Searched refs:bias_params (Results 1 – 2 of 2) sorted by relevance
321 auto* bias_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() local323 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 …]
138 quant::QuantParams bias_params = GetQuantParamsForBias( in runOnFunction() local140 if (!bias_params) continue; in runOnFunction()141 QuantizeValue(builder, bias, bias_params); in runOnFunction()