Home
last modified time | relevance | path

Searched refs:quantization_type (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_quantized_test.cc88 quantization_type(::testing::get<2>(param_tuple)), in TestParam()
102 static_cast<int>(param.quantization_type), param.test_stride, in TestNameSuffix()
109 QuantizationType quantization_type = QuantizationType::kNonPerChannelUint8; member
119 template <QuantizationType quantization_type>
122 const typename QuantizationTypeImpl<quantization_type>::ExternalType* in DispatchDepthwiseConvGeneral()
125 const typename QuantizationTypeImpl<quantization_type>::ExternalType* in DispatchDepthwiseConvGeneral()
131 typename QuantizationTypeImpl<quantization_type>::ExternalType* output_data, in DispatchDepthwiseConvGeneral()
154 template <QuantizationType quantization_type>
158 const typename QuantizationTypeImpl<quantization_type>::ExternalType* in DispatchDepthwiseConvImpl()
161 const typename QuantizationTypeImpl<quantization_type>::ExternalType* in DispatchDepthwiseConvImpl()
[all …]
/external/tensorflow/tensorflow/lite/tools/optimize/
Dmodify_model_interface_test.cc33 const TensorType& quantization_type) { in CreateQuantizedModelSingleInputOutput() argument
99 tensor_1->type = quantization_type; in CreateQuantizedModelSingleInputOutput()
107 tensor_2->type = quantization_type; in CreateQuantizedModelSingleInputOutput()
128 const TensorType& quantization_type) { in CreateQuantizedModelMultipleInputOutput() argument
209 tensor_2->type = quantization_type; in CreateQuantizedModelMultipleInputOutput()
217 tensor_3->type = quantization_type; in CreateQuantizedModelMultipleInputOutput()
225 tensor_4->type = quantization_type; in CreateQuantizedModelMultipleInputOutput()
233 tensor_5->type = quantization_type; in CreateQuantizedModelMultipleInputOutput()
311 TensorType quantization_type = GetParam(); in TEST_P() local
313 auto model = CreateQuantizedModelSingleInputOutput(quantization_type); in TEST_P()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8_3x3_filter.h6056 template <QuantizationType quantization_type>
6058 quantization_type,
6062 const typename QuantizationTypeImpl<quantization_type>::ExternalType*
6084 QuantizationTypeImpl<quantization_type>::kUint8SignBit;
6106 const typename QuantizationTypeImpl<quantization_type>::ExternalType*
6138 if (quantization_type == QuantizationType::kNonPerChannelUint8) {
6156 if (quantization_type == QuantizationType::kNonPerChannelUint8) {
6175 if (quantization_type == QuantizationType::kNonPerChannelUint8) {
6189 if (quantization_type == QuantizationType::kNonPerChannelUint8) {
6215 if (quantization_type == QuantizationType::kNonPerChannelUint8) {
[all …]
Ddepthwiseconv_uint8_transitional.h88 template <QuantizationType quantization_type>
90 quantization_type> {
100 QuantizationTypeImpl<quantization_type>::kIntSymmetricZeroPoint;
147 QuantizationTypeImpl<quantization_type>::kIntSymmetricZeroPoint;
191 template <QuantizationType quantization_type>
193 quantization_type> {
219 QuantizationTypeImpl<quantization_type>::kIntSymmetricZeroPoint;
307 template <QuantizationType quantization_type>
309 quantization_type> {
311 const typename QuantizationTypeImpl<quantization_type>::ExternalType*
[all …]
Ddepthwiseconv_3x3_filter_common.h229 template <QuantizationType quantization_type>
249 QuantizationType quantization_type = QuantizationType::kNonPerChannelUint8>
255 QuantizationTypeImpl<quantization_type>::kIntSymmetricZeroPoint;
279 if (quantization_type == QuantizationType::kPerChannelInt8) {
438 QuantizationType quantization_type = QuantizationType::kNonPerChannelUint8>
507 QuantizationType quantization_type>
526 QuantizationType quantization_type,
545 QuantizationType quantization_type,
/external/libtextclassifier/native/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc407 saft_fbs::QuantizationType quantization_type = matrix->quantization_type(); in SafeGetQuantizationType() local
411 switch (quantization_type) { in SafeGetQuantizationType()
422 << static_cast<int>(quantization_type); in SafeGetQuantizationType()
432 saft_fbs::QuantizationType quantization_type = matrix->quantization_type(); in SafeGetValuesOfMatrix() local
433 switch (quantization_type) { in SafeGetValuesOfMatrix()
444 << static_cast<int>(quantization_type); in SafeGetValuesOfMatrix()
Dembedding-network.fbs48 quantization_type:QuantizationType = NONE;
51 // |quantization_type|.
55 // |quantization_type|.
60 // comments for |quantization_type|.
/external/tensorflow/tensorflow/lite/python/
Dutil_test.py264 def _generate_integer_tflite_model(quantization_type=dtypes.int8, argument
286 if quantization_type == dtypes.int8:
330 quantization_type=dtypes.int16)
333 def test(self, is_post_train, quantization_type, in_tftype, out_tftype): argument
372 if is_post_train and quantization_type == tf.int8:
374 elif is_post_train and quantization_type == tf.int16: