/external/tensorflow/tensorflow/core/framework/ |
D | tensor_testutil.cc | 141 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/ |
D | reduce_test.cc | 255 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 …]
|
D | sub_test.cc | 109 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()
|
D | squared_difference_test.cc | 67 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()
|
D | div_test.cc | 78 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()
|
D | add_test.cc | 107 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()
|
D | mul_test.cc | 387 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/ |
D | squared_difference_test.cc | 49 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/ |
D | div_test.cc | 76 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/ |
D | executor.cc | 166 return buffer_1->CompareRMSE(buffer_2, compare->GetTolerance()); in ExecuteCommand() 168 return buffer_1->CompareHistogramEMD(buffer_2, compare->GetTolerance()); in ExecuteCommand()
|
D | command.h | 281 float GetTolerance() const { return tolerance_; } in GetTolerance() function
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_expect_test.cc | 1177 EXPECT_FLOAT_EQ(cmp->GetTolerance(), 0.1f); in TEST_F()
|