Home
last modified time | relevance | path

Searched refs:kQuantizedTolerance (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dreduce_test.cc276 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in TEST() local
286 kQuantizedTolerance))); in TEST()
290 float kQuantizedTolerance = GetTolerance(-5.0, 5.0); in TEST() local
303 kQuantizedTolerance))); in TEST()
307 float kQuantizedTolerance = GetTolerance(-5.0, 5.0); in TEST() local
317 ArrayFloatNear({0.235294, 0.313726}, kQuantizedTolerance))); in TEST()
375 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in TEST() local
384 ElementsAreArray(ArrayFloatNear({0.4, 0.4}, kQuantizedTolerance))); in TEST()
388 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in TEST() local
397 ElementsAreArray(ArrayFloatNear({0.3, 0.35, 0.55}, kQuantizedTolerance))); in TEST()
[all …]
Dactivations_test.cc98 const float kQuantizedTolerance = 2 * (1. / 256); variable
209 kQuantizedTolerance))); in TEST()
231 kQuantizedTolerance))); in TEST()
254 kQuantizedTolerance))); in TEST()
277 kQuantizedTolerance))); in TEST()
332 kQuantizedTolerance))); in TEST()
352 kQuantizedTolerance))); in TEST()
424 kQuantizedTolerance))); in TEST()
445 kQuantizedTolerance))); in TEST()
459 kQuantizedTolerance))); in TEST()
[all …]
Dsub_test.cc198 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedTestsNoActivation() local
216 ElementsAreArray(ArrayFloatNear(results[i], kQuantizedTolerance))) in QuantizedTestsNoActivation()
231 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedTestsActivationRELU_N1_TO_1() local
248 ElementsAreArray(ArrayFloatNear(results[i], kQuantizedTolerance))) in QuantizedTestsActivationRELU_N1_TO_1()
262 float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in QuantizedVariousInputShapes() local
277 {-2.1, -0.1, 0.4, 0.3, 0.0, 1.9}, kQuantizedTolerance))) in QuantizedVariousInputShapes()
292 float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in QuantizedWithBroadcast() local
305 {-2.7, -0.5, 0.0, 0.1, 0.4, 1.3}, kQuantizedTolerance))) in QuantizedWithBroadcast()
323 float kQuantizedTolerance = GetToleranceInt16(kMin, kMax); in TEST() local
340 ElementsAreArray(ArrayFloatNear(results[i], kQuantizedTolerance))) in TEST()
[all …]
Dadd_test.cc195 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedTestsNoActivation() local
212 ElementsAreArray(ArrayFloatNear(results[i], kQuantizedTolerance))) in QuantizedTestsNoActivation()
228 float kQuantizedTolerance = GetToleranceInt16(kMin, kMax); in TEST() local
245 ElementsAreArray(ArrayFloatNear(results[i], kQuantizedTolerance))) in TEST()
252 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedTestsActivationRELU_N1_TO_1() local
269 ElementsAreArray(ArrayFloatNear(results[i], kQuantizedTolerance))) in QuantizedTestsActivationRELU_N1_TO_1()
284 float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in QuantizedVariousInputShapes() local
299 kQuantizedTolerance))) in QuantizedVariousInputShapes()
314 float kQuantizedTolerance = GetTolerance(-3.f, 3.f); in QuantizedWithScalarBroadcast() local
329 kQuantizedTolerance))) in QuantizedWithScalarBroadcast()
[all …]
Dmul_test.cc66 const float kQuantizedTolerance = variable
206 kQuantizedTolerance))); in NoActivation()
247 kQuantizedTolerance))); in NoActivationInt16With8BitOutput()
261 float kQuantizedTolerance = 2.0 * kQuantizedStep; in GetTolerance() local
262 return kQuantizedTolerance; in GetTolerance()
267 float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in WithBroadcast() local
281 {-0.2, 0.02, 0.07, 0.08, 0.11, 0.2}, kQuantizedTolerance))) in WithBroadcast()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc1321 const float kQuantizedTolerance = 2 * (1. / 256); variable
1428 kQuantizedTolerance))); in TEST()