Home
last modified time | relevance | path

Searched defs:zero_point (Results 1 – 25 of 100) sorted by relevance

1234

/external/XNNPACK/test/
Dqu8-requantization.cc36 for (int32_t zero_point = 1; zero_point < 256; zero_point++) { in TEST() local
49 for (int32_t zero_point = 0; zero_point < 256; zero_point++) { in TEST() local
62 for (int32_t zero_point = 0; zero_point < 256; zero_point++) { in TEST() local
75 for (int32_t zero_point = 0; zero_point < 256; zero_point++) { in TEST() local
119 for (int32_t zero_point = 1; zero_point < 256; zero_point++) { in TEST() local
132 for (int32_t zero_point = 0; zero_point < 256; zero_point++) { in TEST() local
145 for (int32_t zero_point = 0; zero_point < 256; zero_point++) { in TEST() local
158 for (int32_t zero_point = 0; zero_point < 256; zero_point++) { in TEST() local
202 for (int32_t zero_point = 1; zero_point < 256; zero_point++) { in TEST() local
215 for (int32_t zero_point = 0; zero_point < 256; zero_point++) { in TEST() local
[all …]
Dqs8-requantization.cc36 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
52 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
68 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
84 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
130 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
146 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
162 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
178 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
224 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
240 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TEST() local
[all …]
Drequantization-tester.h43 inline RequantizationTester& zero_point(int32_t zero_point) { in zero_point() function
48 inline int32_t zero_point() const { in zero_point() function
419 for (int32_t zero_point = 0; zero_point <= std::numeric_limits<uint8_t>::max(); zero_point++) { in TestSpecialCases() local
458 for (int32_t zero_point = std::numeric_limits<int8_t>::min(); in TestSpecialCases() local
672 uint8_t zero_point, in RequantizeApproximate()
685 int8_t zero_point, in RequantizeApproximate()
Dqu8-avgpool-minmax.cc71 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
95 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
218 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
246 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
380 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
408 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
542 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
570 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
704 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
732 for (int32_t zero_point = 0; zero_point <= 255; zero_point += 51) { in TEST() local
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/
Dquantize.cc35 int32_t zero_point = 0; member
45 void AffineQuantize(int scale_multiplier, const int32_t zero_point, in AffineQuantize()
154 int32_t zero_point = op_data->zero_point; in EvalXtensa() local
156 int32_t zero_point = op_data->quantization_params.zero_point; in EvalXtensa() local
/external/libtextclassifier/native/tensorflow_models/seq_flow_lite/tflite_ops/
Dquantization_util.h43 const int32_t zero_point = tensor.params.zero_point; in PodDequantizeValue() local
56 inline uint8_t PodQuantize(float value, int32_t zero_point, in PodQuantize()
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddequantize_test.cc51 T* input_data_quantized, float scale, int zero_point, in TestDequantizeToFloat()
109 const int zero_point = 127; in TF_LITE_MICRO_TEST() local
122 const int zero_point = -1; in TF_LITE_MICRO_TEST() local
135 const int zero_point = -1; in TF_LITE_MICRO_TEST() local
Dquantize_test.cc29 float scale, int zero_point, int output_len, in ValidateQuantizeGoldens()
57 const int zero_point, T* output_data) { in TestQuantizeFloat()
131 const int zero_point = 127; in TF_LITE_MICRO_TEST() local
144 const int zero_point = 127; in TF_LITE_MICRO_TEST() local
157 const int zero_point = -1; in TF_LITE_MICRO_TEST() local
170 const int zero_point = 0; in TF_LITE_MICRO_TEST() local
183 const int zero_point = -1; in TF_LITE_MICRO_TEST() local
196 const int zero_point = 0; in TF_LITE_MICRO_TEST() local
/external/tensorflow/tensorflow/lite/micro/
Dmicro_utils.h35 T FloatToQuantizedType(const float value, const float scale, int zero_point) { in FloatToQuantizedType()
67 int zero_point) { in Quantize()
126 int zero_point, float* dequantized_values) { in Dequantize()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddequantize.h35 int32_t zero_point = op_params.zero_point; in Dequantize() local
55 const int32_t* zero_point = op_params.zero_point; in PerChannelDequantize() local
Dquantize.h36 const int32_t zero_point = op_params.zero_point; in AffineQuantize() local
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Drsqrt_test.cc55 int32_t zero_point = -128; in TEST() local
88 int32_t zero_point = -128; in TEST() local
/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_custom_gemv.h197 std::uint8_t zero_point) { in Load16AndSubtractZeroPoint()
209 std::int8_t zero_point) { in Load16AndSubtractZeroPoint()
221 std::uint8_t zero_point) { in Load8AndSubtractZeroPoint()
229 std::int8_t zero_point) { in Load8AndSubtractZeroPoint()
Delementwise_test.cc65 int zero_point; in AsymmetricQuantizeAndPopulate() local
79 int zero_point = affine_quantization->zero_point->data[0]; in ExtractDequantVector() local
264 int32_t zero_point = -128; in TEST() local
298 int32_t zero_point = -128; in TEST() local
/external/ruy/ruy/
Dvalidate.h34 void CheckZeroPoint(Scalar zero_point) { in CheckZeroPoint()
Dmat.h128 Scalar zero_point = 0; member
240 std::int32_t zero_point = 0; member
251 std::int32_t zero_point = 0; member
274 std::int32_t zero_point = 0; member
Dprepacked_cache.h74 std::int32_t zero_point; member
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Ddequantize.h29 const int32 zero_point = op_params.zero_point; in Dequantize() local
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dnumerical_utils.cc61 QuantizedRange CalculateQuantizedRange(double scale, int32_t zero_point, in CalculateQuantizedRange()
Dquantization_info.proto21 int32 zero_point = 2; field
/external/XNNPACK/src/xnnpack/
Drequantization.h69 uint8_t zero_point, in xnn_qu8_requantize_precise()
117 int8_t zero_point, in xnn_qs8_requantize_precise()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc75 int64_t zero_point; in GetAsymmetricQuantizationParams() local
532 const std::vector<int64_t>& zero_point, in AddQuantizationParams()
593 std::vector<int64_t> zero_point(scales.size(), 0); in SymmetricQuantizeTensorPerChannel() local
678 std::vector<int64_t> zero_point(scales.size(), 0); in SymmetricPerChannelBiasQuantize() local
747 const int32 zero_point = 0; in QuantizeActivationToInt16() local
/external/XNNPACK/src/qu8-requantization/
Dfp32-sse2.c22 uint8_t zero_point, in xnn_qu8_requantize_fp32__sse2()
Dfp32-scalar-magic.c23 uint8_t zero_point, in xnn_qu8_requantize_fp32__scalar_magic()
/external/XNNPACK/src/qs8-requantization/
Dfp32-scalar-magic.c23 int8_t zero_point, in xnn_qs8_requantize_fp32__scalar_magic()

1234