Home
last modified time | relevance | path

Searched defs:zero_points (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dper_channel_dequantize_test.cc31 const std::vector<int> zero_points = {-1, -1}; in TEST() local
53 const std::vector<int> zero_points = {-1, 1, -1, 1, 0}; in TEST() local
75 const std::vector<int> zero_points = {-1, 1}; in TEST() local
99 const std::vector<int> zero_points = {-1, 1, -1, 1, 0}; in TEST() local
Dkernel_utils.cc127 bool asymmetric_quantize_inputs, int32_t* zero_points, in RnnBatchStep()
154 bool asymmetric_quantize_inputs, int32_t* zero_points, in RnnBatchStep()
Dtensor_utils_common.h65 float* scaling_factors, int32_t* zero_points, in BatchQuantizeFloats()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dadd_test.cc227 const int zero_points[] = {125, 129, 135}; in TF_LITE_MICRO_TEST() local
248 const int zero_points[] = {-10, 4, 13}; in TF_LITE_MICRO_TEST() local
269 const int zero_points[] = {125, 129, 135}; in TF_LITE_MICRO_TEST() local
290 const int zero_points[] = {-10, 4, 13}; in TF_LITE_MICRO_TEST() local
311 const int zero_points[] = {120, 130, 139}; in TF_LITE_MICRO_TEST() local
343 const int zero_points[] = {-9, 5, 14}; in TF_LITE_MICRO_TEST() local
391 const int zero_points[] = {120, 131, 139}; in TF_LITE_MICRO_TEST() local
438 const int zero_points[] = {-8, 4, 12}; in TF_LITE_MICRO_TEST() local
456 const int zero_points[] = {127, 131, 139}; in TF_LITE_MICRO_TEST() local
476 const int zero_points[] = {-10, -5, 7}; in TF_LITE_MICRO_TEST() local
Dsub_test.cc226 const int zero_points[] = {125, 129, 135}; in TF_LITE_MICRO_TEST() local
247 const int zero_points[] = {-10, 4, 13}; in TF_LITE_MICRO_TEST() local
268 const int zero_points[] = {125, 129, 135}; in TF_LITE_MICRO_TEST() local
289 const int zero_points[] = {-10, 4, 13}; in TF_LITE_MICRO_TEST() local
310 const int zero_points[] = {120, 130, 139}; in TF_LITE_MICRO_TEST() local
342 const int zero_points[] = {-9, 5, 14}; in TF_LITE_MICRO_TEST() local
390 const int zero_points[] = {120, 131, 139}; in TF_LITE_MICRO_TEST() local
437 const int zero_points[] = {-8, 4, 12}; in TF_LITE_MICRO_TEST() local
455 const int zero_points[] = {127, 131, 139}; in TF_LITE_MICRO_TEST() local
475 const int zero_points[] = {-10, -5, 7}; in TF_LITE_MICRO_TEST() local
Dconv_test.cc240 int zero_points[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
282 int zero_points[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
317 int zero_points[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
371 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
422 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
535 int zero_points[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
Dquantize_test.cc67 int zero_points[] = {1, zero_point}; in TestQuantizeFloat() local
100 int zero_points[] = {1, output_zero_point}; in TestRequantize() local
Dtranspose_conv_test.cc208 int zero_points[tflite::testing::kBiasElements + 1]; in TF_LITE_MICRO_TEST() local
Ddepthwise_conv_test.cc795 int zero_points[bias_size + 1]; in TF_LITE_MICRO_TEST() local
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dconv_slicing_test.cc293 int zero_points[tflite::testing::kBias1Elements + 1]; in TF_LITE_MICRO_TEST() local
322 int zero_points[tflite::testing::kBias1Elements + 1]; in TF_LITE_MICRO_TEST() local
350 int zero_points[tflite::testing::kBias2Elements + 1]; in TF_LITE_MICRO_TEST() local
379 int zero_points[tflite::testing::kBias2Elements + 1]; in TF_LITE_MICRO_TEST() local
407 int zero_points[tflite::testing::kBias3Elements + 1]; in TF_LITE_MICRO_TEST() local
436 int zero_points[tflite::testing::kBias3Elements + 1]; in TF_LITE_MICRO_TEST() local
464 int zero_points[tflite::testing::kBias4Elements + 1]; in TF_LITE_MICRO_TEST() local
493 int zero_points[tflite::testing::kBias4Elements + 1]; in TF_LITE_MICRO_TEST() local
Ddepthwise_conv_slicing_test.cc223 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
266 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
313 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
363 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
405 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
450 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
494 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
541 int zero_points[bias_elements + 1]; in TF_LITE_MICRO_TEST() local
/external/tensorflow/tensorflow/lite/micro/
Dtesting_helpers_test.cc51 int zero_points[] = {4, 0, 0, 0, 0}; in TF_LITE_MICRO_TEST() local
87 int zero_points[channels + 1]; in TF_LITE_MICRO_TEST() local
Dtest_helpers.cc1020 float input_scale, float* weight_scales, float* scales, int* zero_points, in CreatePerChannelQuantizedBiasTensor()
1048 int* zero_points, TfLiteAffineQuantization* affine_quant, in CreateSymmetricPerChannelQuantizedTensor()
/external/tensorflow/tensorflow/lite/kernels/
Dbasic_rnn.cc170 TfLiteTensor* zero_points; in Prepare() local
236 TfLiteTensor* zero_points, TfLiteTensor* accum_scratch, in EvalHybrid()
321 TfLiteTensor* zero_points; in Eval() local
Dunidirectional_sequence_rnn.cc177 TfLiteTensor* zero_points; in Prepare() local
273 TfLiteTensor* hidden_state, TfLiteTensor* output, TfLiteTensor* zero_points, in EvalHybrid()
397 TfLiteTensor* zero_points; in Eval() local
Dsvdf.cc216 TfLiteTensor* zero_points; in Prepare() local
330 TfLiteTensor* zero_points; in Eval() local
Dbidirectional_sequence_rnn.cc281 TfLiteTensor* zero_points; in Prepare() local
527 TfLiteTensor* bw_output, TfLiteTensor* zero_points, in EvalHybrid()
806 TfLiteTensor* zero_points; in Eval() local
/external/tensorflow/tensorflow/lite/python/
Dinterpreter_test.py79 def assertQuantizationParamsEqual(self, scales, zero_points, argument
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dsvdf.h198 const RuntimeShape& output_shape, float* output_data, int32_t* zero_points, in EvalHybridSVDF()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc214 SmallVector<int64_t, 4> zero_points(qtype.getZeroPoints().begin(), in ResetAxisAndBroadcast() local
439 llvm::SmallVector<int64_t, 4> zero_points(axis_size, 0); in GetUniformQuantizedTypeForBias() local
Dquantization_utils.h412 auto zero_points = aqtype.getZeroPoints(); in matchAndRewrite() local
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc364 std::vector<int64_t> zero_points(1, 0); in SymmetricQuantizeFloatsToInt16() local
637 std::vector<int64_t> zero_points(1, 0); in SymmetricPerLayerBiasQuantize() local
Dquantization_utils_test.cc654 const std::vector<int64_t> zero_points = {5, 10, 15}; in TEST_F() local