/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | conv_test_common.cc | 172 float filter_scales[] = {1, filter_scale}; in TestConvQuantizedPerLayer() local 174 TfLiteAffineQuantization filter_quant = {FloatArrayFromFloats(filter_scales), in TestConvQuantizedPerLayer() 201 float filter_scales[5]; in TestConvQuantizedPerChannel() local 207 filter_data, filter_data_quantized, filter_dims, filter_scales, in TestConvQuantizedPerChannel() 210 bias_data, bias_data_quantized, bias_dims, input_scale, &filter_scales[1], in TestConvQuantizedPerChannel()
|
D | depthwise_conv_test.cc | 144 float filter_scales[] = {1, filter_scale}; in TestDepthwiseConvQuantizedPerLayer() local 146 TfLiteAffineQuantization filter_quant = {FloatArrayFromFloats(filter_scales), in TestDepthwiseConvQuantizedPerLayer() 180 float filter_scales[kMaxFilterChannels]; in TestDepthwiseConvQuantizedPerChannel() local 188 filter_data, filter_data_quantized, filter_dims, filter_scales, in TestDepthwiseConvQuantizedPerChannel() 192 bias_data, bias_data_quantized, bias_dims, input_scale, &filter_scales[1], in TestDepthwiseConvQuantizedPerChannel() 723 float filter_scales[2] = {1, filter_scale}; in TF_LITE_MICRO_TEST() local 725 tflite::testing::FloatArrayFromFloats(filter_scales), in TF_LITE_MICRO_TEST() 810 float filter_scales[5]; in TF_LITE_MICRO_TEST() local 817 filter_data, filter_quantized, filter_dims, filter_scales, in TF_LITE_MICRO_TEST() 821 bias_data, bias_quantized, bias_dims, input_scale, &filter_scales[1], in TF_LITE_MICRO_TEST() [all …]
|
D | conv_test.cc | 472 float filter_scales[2] = {1, filter_scale}; in TF_LITE_MICRO_TEST() local 474 tflite::testing::FloatArrayFromFloats(filter_scales), in TF_LITE_MICRO_TEST() 548 float filter_scales[5]; in TF_LITE_MICRO_TEST() local 556 filter_scales, filter_zero_points, &filter_quant, in TF_LITE_MICRO_TEST() 561 &filter_scales[1], scales, zero_points, &bias_quant, 0); in TF_LITE_MICRO_TEST() 685 float filter_scales[] = {1, filter_scale}; in TF_LITE_MICRO_TEST() local 687 tflite::testing::FloatArrayFromFloats(filter_scales), in TF_LITE_MICRO_TEST()
|
D | transpose_conv_test.cc | 148 float filter_scales[5]; in TestTransposeConvQuantized() local 151 filter_data, filter_quantized, filter_dims, filter_scales, in TestTransposeConvQuantized()
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | depthwise_conv_slicing_test.cc | 135 float filter_scales[kMaxFilterChannels]; in TestDepthwiseConvQuantizedPerChannel() local 144 filter_data, filter_data_quantized, filter_dims, filter_scales, in TestDepthwiseConvQuantizedPerChannel() 148 bias_data, bias_data_quantized, bias_dims, input_scale, &filter_scales[1], in TestDepthwiseConvQuantizedPerChannel()
|
D | conv_slicing_test.cc | 208 float filter_scales[5]; in TestConvQuantizedPerChannel() local 215 filter_data, filter_data_quantized, filter_dims, filter_scales, in TestConvQuantizedPerChannel() 233 bias_data, bias_data_quantized, bias_dims, input_scale, &filter_scales[1], in TestConvQuantizedPerChannel()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | kernel_util.cc | 240 const float* filter_scales = affine_quantization->scale->data; in PopulateConvolutionQuantizationParams() local 244 const float scale = is_per_channel ? filter_scales[i] : filter_scales[0]; in PopulateConvolutionQuantizationParams()
|