Searched refs:bias_scale (Results 1 – 3 of 3) sorted by relevance
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/arc_mli/ |
D | fully_connected_slicing_test.cc | 42 const int32_t* bias_data, const float bias_scale, in TestFullyConnectedQuantized() argument 60 CreateQuantized32Tensor(bias_data, bias_dims, "bias_tensor", bias_scale), in TestFullyConnectedQuantized() 130 const float bias_scale = 1.0f; in TF_LITE_MICRO_TEST() local 150 bias_scale, expected_output_data, output_dims_data, output_min, in TF_LITE_MICRO_TEST() 159 const float bias_scale = 1.0f; in TF_LITE_MICRO_TEST() local 189 bias_dims_data_local, bias_data_local, bias_scale, expected_output_data, in TF_LITE_MICRO_TEST() 200 const float bias_scale = 1.0f; in TF_LITE_MICRO_TEST() local 225 bias_dims_data_2, bias_data_2, bias_scale, expected_output_data_2, in TF_LITE_MICRO_TEST() 235 const float bias_scale = 1.0f; in TF_LITE_MICRO_TEST() local 265 bias_dims_data_local_2, bias_data_local_2, bias_scale, in TF_LITE_MICRO_TEST() [all …]
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/ |
D | test_helpers.cc | 1204 float bias_scale = input_scale * weights_scale; in CreateQuantizedBiasTensor() local 1205 tflite::SymmetricQuantize(data, quantized, ElementCount(*dims), bias_scale); in CreateQuantizedBiasTensor() 1211 CreateQuantizedTensor(quantized, dims, bias_scale, 0, is_variable); in CreateQuantizedBiasTensor() 1218 float bias_scale = input_scale * weights_scale; in CreateQuantizedBiasTensor() local 1219 tflite::SymmetricQuantize(data, quantized, ElementCount(*dims), bias_scale); in CreateQuantizedBiasTensor() 1225 CreateQuantizedTensor(quantized, dims, bias_scale, 0, is_variable); in CreateQuantizedBiasTensor() 1233 float bias_scale = input_scale * weights_scale; in CreateQuantizedBiasTensor() local 1234 tflite::SymmetricQuantize(data, quantized, ElementCount(*dims), bias_scale); in CreateQuantizedBiasTensor() 1240 CreateQuantizedTensor(quantized, dims, bias_scale, 0, is_variable); in CreateQuantizedBiasTensor()
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/ |
D | kernel_util.cc | 297 const double bias_scale = static_cast<double>(bias->params.scale); in GetQuantizedConvolutionMultipler() local 315 const double scale_diff = std::abs(input_product_scale - bias_scale); in GetQuantizedConvolutionMultipler()
|