Home
last modified time | relevance | path

Searched refs:GetTolerance (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil.cc141 static auto GetTolerance(double tolerance) { in GetTolerance() function
152 auto typed_atol = GetTolerance<T>(atol); in ExpectClose()
153 auto typed_rtol = GetTolerance<T>(rtol); in ExpectClose()
248 return test::IsClose(x, y, GetTolerance<Eigen::half>(atol), in IsClose()
249 GetTolerance<Eigen::half>(rtol)); in IsClose()
253 return test::IsClose(x, y, GetTolerance<float>(atol), in IsClose()
254 GetTolerance<float>(rtol)); in IsClose()
258 return test::IsClose(x, y, GetTolerance<double>(atol), in IsClose()
259 GetTolerance<double>(rtol)); in IsClose()
/external/tensorflow/tensorflow/lite/kernels/
Dreduce_test.cc255 float GetTolerance(int min, int max) { in GetTolerance() function
315 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in TEST()
329 float kQuantizedTolerance = GetTolerance(-5.0, 5.0); in TEST()
349 float kQuantizedTolerance = GetTolerance(-5.0, 5.0); in TEST()
444 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in TEST()
457 float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in TEST()
471 float kQuantizedTolerance = GetTolerance<integer_type>(-255.0, 255.0); in MeanOpConstModelTest()
494 float kQuantizedTolerance = GetTolerance<integer_type>(-5.0, 5.0); in ConstMeanOpTestNonSameScale()
518 float kQuantizedTolerance = GetTolerance<integer_type>(-5.0, 5.0); in MeanOpTestQuantizedSameScale()
546 float kQuantizedTolerance = GetTolerance<integer_type>(-5.0, 5.0); in MeanOpTestQuantizedDifferentScale()
[all …]
Dsub_test.cc109 float GetTolerance(float min, float max) { in GetTolerance() function
291 float kQuantizedTolerance = GetTolerance<integer_dtype>(-1.0, 1.0); in QuantizedTestsNoActivation()
328 float kQuantizedTolerance = GetTolerance<integer_dtype>(-1.0, 1.0); in QuantizedTestsActivationRELU_N1_TO_1()
363 float kQuantizedTolerance = GetTolerance<integer_dtype>(-3.0, 3.0); in QuantizedVariousInputShapes()
397 float kQuantizedTolerance = GetTolerance<integer_dtype>(-3.0, 3.0); in QuantizedWithBroadcast()
428 float kQuantizedTolerance = GetTolerance<int16_t>(-2.0, 2.0); in TEST()
451 float kQuantizedTolerance = GetTolerance<int16_t>(-2.0, 2.0); in TEST()
474 float kQuantizedTolerance = GetTolerance<int16_t>(-2.0, 2.0); in TEST()
494 float kQuantizedTolerance = GetTolerance<int16_t>(-2.0, 2.0); in TEST()
Dsquared_difference_test.cc67 float GetTolerance(int min, int max) { in GetTolerance() function
171 float kQuantizedTolerance = GetTolerance(0, 1); in TEST()
185 float kQuantizedTolerance = GetTolerance(0, 9); in TEST()
206 float kQuantizedTolerance = GetTolerance(0, 1); in TEST()
Ddiv_test.cc78 inline float GetTolerance(int min, int max) { in GetTolerance() function
212 const float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedNoActivation()
231 const float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedActivationRELU_N1_TO_1()
259 const float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in QuantizedVariousInputShapes()
286 const float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in QuantizedWithBroadcast()
Dadd_test.cc107 float GetTolerance(float min, float max) { in GetTolerance() function
300 float kQuantizedTolerance = GetTolerance<integer_dtype>(-1.0, 1.0); in QuantizedTestsNoActivation()
331 float kQuantizedTolerance = GetTolerance<int16_t>(-1.0, 1.0); in TEST()
358 float kQuantizedTolerance = GetTolerance<integer_dtype>(-1.0, 1.0); in QuantizedTestsActivationRELU_N1_TO_1()
390 float kQuantizedTolerance = GetTolerance<integer_dtype>(-3.0, 3.0); in QuantizedVariousInputShapes()
420 float kQuantizedTolerance = GetTolerance<integer_dtype>(-3.f, 3.f); in QuantizedWithScalarBroadcast()
470 float kQuantizedTolerance = GetTolerance<integer_dtype>(-3.f, 3.f); in QuantizedWithMixedBroadcast()
536 float kQuantizedTolerance = GetTolerance<integer_dtype>(-3.0, 3.0); in QuantizedWithGenericBroadcast()
Dmul_test.cc387 float GetTolerance(int min, int max) { in GetTolerance() function
395 const float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in WithBroadcast()
423 const float kQuantizedTolerance = GetTolerance(-3.f, 3.f); in QuantizedWithMixedBroadcast()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dsquared_difference_test.cc49 float GetTolerance(int min, int max) { in GetTolerance() function
55 float kQuantizedTolerance = GetTolerance(0, 1); in TEST()
70 float kQuantizedTolerance = GetTolerance(0, 10); in TEST()
90 float kQuantizedTolerance = GetTolerance(0, 1); in TEST()
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddiv_test.cc76 inline float GetTolerance(int min, int max) { in GetTolerance() function
210 const float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedNoActivation()
229 const float kQuantizedTolerance = GetTolerance(-1.0, 1.0); in QuantizedActivationRELU_N1_TO_1()
257 const float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in QuantizedVariousInputShapes()
284 const float kQuantizedTolerance = GetTolerance(-3.0, 3.0); in QuantizedWithBroadcast()
/external/deqp-deps/amber/src/
Dexecutor.cc166 return buffer_1->CompareRMSE(buffer_2, compare->GetTolerance()); in ExecuteCommand()
168 return buffer_1->CompareHistogramEMD(buffer_2, compare->GetTolerance()); in ExecuteCommand()
Dcommand.h281 float GetTolerance() const { return tolerance_; } in GetTolerance() function
/external/deqp-deps/amber/src/amberscript/
Dparser_expect_test.cc1177 EXPECT_FLOAT_EQ(cmp->GetTolerance(), 0.1f); in TEST_F()