Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/micro/kernels/
Dconv_test_common.cc172 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()
Ddepthwise_conv_test.cc144 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 …]
Dconv_test.cc472 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()
Dtranspose_conv_test.cc148 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/
Ddepthwise_conv_slicing_test.cc135 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()
Dconv_slicing_test.cc208 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/
Dkernel_util.cc240 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()