Home
last modified time | relevance | path

Searched refs:per_channel_quantization_scales (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dtranspose_conv_test.cc44 filter.per_channel_quantization_scales.size()); in QuantizedTransposeConvOpModel()
46 filter.per_channel_quantization_scales.size()); in QuantizedTransposeConvOpModel()
47 for (size_t i = 0; i < filter.per_channel_quantization_scales.size(); in QuantizedTransposeConvOpModel()
50 input.scale * filter.per_channel_quantization_scales[i]; in QuantizedTransposeConvOpModel()
Dconv_test.cc48 filter.per_channel_quantization_scales.size()); in QuantizedConvolutionOpModel()
50 filter.per_channel_quantization_scales.size()); in QuantizedConvolutionOpModel()
51 for (size_t i = 0; i < filter.per_channel_quantization_scales.size(); in QuantizedConvolutionOpModel()
53 bias_scale[i] = input.scale * filter.per_channel_quantization_scales[i]; in QuantizedConvolutionOpModel()
/external/tensorflow/tensorflow/lite/kernels/
Ddepthwise_conv_hybrid_test.cc72 filter.per_channel_quantization_scales.size()); in BaseDepthwiseConvolutionOpModel()
74 filter.per_channel_quantization_scales.size()); in BaseDepthwiseConvolutionOpModel()
75 for (size_t i = 0; i < filter.per_channel_quantization_scales.size(); in BaseDepthwiseConvolutionOpModel()
78 input.scale * filter.per_channel_quantization_scales[i]; in BaseDepthwiseConvolutionOpModel()
Dtranspose_conv_test.cc596 filter.per_channel_quantization_scales.size()); in BaseTransposeConvBiasOpModel()
598 filter.per_channel_quantization_scales.size()); in BaseTransposeConvBiasOpModel()
599 for (size_t i = 0; i < filter.per_channel_quantization_scales.size(); in BaseTransposeConvBiasOpModel()
601 bias_scale[i] = input.scale * filter.per_channel_quantization_scales[i]; in BaseTransposeConvBiasOpModel()
Dconv_test.cc79 filter.per_channel_quantization_scales.size());
81 filter.per_channel_quantization_scales.size());
82 for (size_t i = 0; i < filter.per_channel_quantization_scales.size();
85 input.scale * filter.per_channel_quantization_scales[i];
Ddepthwise_conv_test.cc73 filter.per_channel_quantization_scales.size()); in BaseDepthwiseConvolutionOpModel()
75 filter.per_channel_quantization_scales.size()); in BaseDepthwiseConvolutionOpModel()
76 for (size_t i = 0; i < filter.per_channel_quantization_scales.size(); in BaseDepthwiseConvolutionOpModel()
79 input.scale * filter.per_channel_quantization_scales[i]; in BaseDepthwiseConvolutionOpModel()
Dtest_util.h112 std::vector<float> per_channel_quantization_scales = {},
125 per_channel_quantization_scales( in type()
126 std::move(per_channel_quantization_scales)), in type()
142 std::vector<float> per_channel_quantization_scales; member
779 builder_.CreateVector<float>(t.per_channel_quantization_scales), in AddTensorPerChannelQuant()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_signed_quantization_test.cc256 filter.per_channel_quantization_scales.size());
258 filter.per_channel_quantization_scales.size());
259 for (size_t i = 0; i < filter.per_channel_quantization_scales.size();
262 input.scale * filter.per_channel_quantization_scales[i];
Dnnapi_delegate_test.cc965 const int num_channels = filter.per_channel_quantization_scales.size(); in PerChannelQuantizedConvolutionWithConstantFilterOpModel()
969 bias_scales[i] = input.scale * filter.per_channel_quantization_scales[i]; in PerChannelQuantizedConvolutionWithConstantFilterOpModel()