/external/tensorflow/tensorflow/cc/framework/ |
D | gradient_checker_test.cc | 46 float max_error; in TEST() local 48 scope, {x}, {shape}, {y}, {shape}, &max_error))); in TEST() 49 EXPECT_LT(max_error, 1e-4); in TEST() 57 double max_error; in TEST() local 59 scope, {x}, {shape}, {y}, {shape}, &max_error))); in TEST() 60 EXPECT_LT(max_error, 1e-10); in TEST() 68 float max_error; in TEST() local 70 scope, {x}, {shape}, {y}, {shape}, &max_error))); in TEST() 71 EXPECT_LT(max_error, 1e-4); in TEST() 79 double max_error; in TEST() local [all …]
|
D | gradient_checker.cc | 330 JAC_T* max_error) { in ComputeGradientErrorInternal() argument 349 *max_error = 0.0; in ComputeGradientErrorInternal() 358 *max_error = cur_error; in ComputeGradientErrorInternal() 361 *max_error = std::max(*max_error, cur_error); in ComputeGradientErrorInternal() 375 JAC_T* max_error) { in ComputeGradientError() argument 395 scope, xs, x_shapes, ys, y_shapes, &x_datas, max_error); in ComputeGradientError() 401 const TensorShape& y_shape, JAC_T* max_error) { in ComputeGradientError() argument 406 scope, {x}, {x_datas[0].shape()}, {y}, {y_shape}, &x_datas, max_error); in ComputeGradientError() 413 const std::vector<TensorShape>& y_shapes, JAC_T* max_error); \ 416 const Output& y, const TensorShape& y_shape, JAC_T* max_error);
|
D | gradient_checker.h | 53 JAC_T* max_error); 59 const TensorShape& y_shape, JAC_T* max_error);
|
/external/tensorflow/tensorflow/cc/gradients/ |
D | image_grad_test.cc | 119 JAC_T max_error; in TestResizeToSmallerAndAlign() local 121 scope_, x, x_data, y, {1, 2, 3, 1}, &max_error))); in TestResizeToSmallerAndAlign() 122 EXPECT_LT(max_error, 1.5e-3); in TestResizeToSmallerAndAlign() 134 JAC_T max_error; in TestResizeToLargerAndAlign() local 136 scope_, x, x_data, y, {1, 4, 6, 1}, &max_error))); in TestResizeToLargerAndAlign() 137 EXPECT_LT(max_error, 1.5e-3); in TestResizeToLargerAndAlign() 219 JAC_T max_error; in TestScaleAndTranslate() local 221 scope_, x, x_data, y, {1, out_height, out_width, 1}, &max_error))); in TestScaleAndTranslate() 222 EXPECT_LT(max_error, 2e-3); in TestScaleAndTranslate() 332 JAC_T max_error; in TestCropAndResize() local [all …]
|
D | nn_grad_test.cc | 56 float max_error; in RunTest() local 58 scope_, {x}, {x_shape}, {y}, {y_shape}, &max_error))); in RunTest() 59 EXPECT_LT(max_error, 1e-3); in RunTest() 64 float max_error; in RunTest() local 66 scope_, x, x_init_value, y, y_shape, &max_error))); in RunTest() 67 EXPECT_LT(max_error, 1e-3); in RunTest() 73 float max_error; in RunTest() local 75 scope_, xs, x_shapes, ys, y_shapes, &max_error))); in RunTest() 76 EXPECT_LT(max_error, 1e-3); in RunTest()
|
D | data_flow_grad_test.cc | 40 float max_error; in RunTest() local 42 scope_, xs, x_shapes, ys, y_shapes, &max_error))); in RunTest() 43 EXPECT_LT(max_error, 1e-4); in RunTest()
|
D | math_grad_test.cc | 205 float max_error; in TestCWiseGrad() local 207 shape, &max_error))); in TestCWiseGrad() 208 EXPECT_LT(max_error, 1e-3f); in TestCWiseGrad() 594 float max_error; in TestMatMulGrad() local 596 root_, {x, y}, {x_shape, y_shape}, {z}, {z_shape}, &max_error))); in TestMatMulGrad() 597 EXPECT_LT(max_error, 1e-3); in TestMatMulGrad() 716 float max_error; in RunTest() local 718 scope_, xs, x_shapes, ys, y_shapes, &max_error))); in RunTest() 719 EXPECT_LT(max_error, 1e-3); in RunTest() 725 float max_error; in RunTest() local [all …]
|
D | array_grad_test.cc | 38 float max_error; in RunTest() local 40 scope_, {x}, {x_shape}, {y}, {y_shape}, &max_error))); in RunTest() 41 EXPECT_LT(max_error, 1e-3); in RunTest() 47 float max_error; in RunTest() local 49 scope_, xs, x_shapes, ys, y_shapes, &max_error))); in RunTest() 50 EXPECT_LT(max_error, 1e-3); in RunTest()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | relu_op_test.py | 116 err = gradient_checker_v2.max_error( 165 err = gradient_checker_v2.max_error( 184 err = gradient_checker_v2.max_error( 203 err = gradient_checker_v2.max_error( 264 err = gradient_checker_v2.max_error( 275 err = gradient_checker_v2.max_error( 326 err = gradient_checker_v2.max_error( 337 err = gradient_checker_v2.max_error( 357 err = gradient_checker_v2.max_error( 377 err = gradient_checker_v2.max_error( [all …]
|
/external/libaom/libaom/test/ |
D | av1_inv_txfm1d_test.cc | 75 const int max_error[] = { 6, 10, 19, 31, 40 }; in TEST() local 76 ASSERT_EQ(NELEMENTS(max_error), TX_SIZES); in TEST() 97 EXPECT_LE(abs(output[i] - ref_output[i]), max_error[tx_size]) in TEST() 127 int max_error = 2; in TEST() local 150 EXPECT_LE(node_err, max_error); in TEST()
|
D | av1_fwd_txfm1d_test.cc | 76 int max_error = 7; in TEST() local 92 max_error) in TEST()
|
D | transform_test_base.h | 49 uint32_t max_error = 0; in RunAccuracyCheck() local 93 if (max_error < error) max_error = error; in RunAccuracyCheck() 100 EXPECT_GE(ref_max_error, max_error) in RunAccuracyCheck()
|
D | av1_inv_txfm2d_test.cc | 193 const int max_error = max_error_ls[s]; in GetInvTxfm2dParamList() local 200 AV1InvTxfm2dParam(tx_type, tx_size, max_error, avg_error)); in GetInvTxfm2dParamList()
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradient_checker_v2_test.py | 54 error = gradient_checker.max_error(*gradient_checker.compute_gradient( 65 error = gradient_checker.max_error(*gradient_checker.compute_gradient( 80 error = gradient_checker.max_error(*gradient_checker.compute_gradient( 97 error = gradient_checker.max_error(*gradient_checker.compute_gradient( 116 gradient_checker.max_error(*gradient_checker.compute_gradient( 132 gradient_checker.max_error(*gradient_checker.compute_gradient( 142 error = gradient_checker.max_error(*gradient_checker.compute_gradient( 176 error = gradient_checker.max_error(*gradient_checker.compute_gradient( 277 err = gradient_checker.max_error(*gradient_checker.compute_gradient(
|
D | math_grad_test.py | 75 def _testGrad(self, shape, dtype=None, max_error=None, bias=None, sigma=None): argument 92 self.assertLess(error, max_error) 98 [3, 3], dtype=dtypes.float32, max_error=2e-5, bias=0.1, sigma=1.0) 100 [3, 3], dtype=dtypes.complex64, max_error=2e-5, bias=0.1, sigma=1.0) 104 [3, 3], dtype=dtypes.float32, max_error=100.0, bias=0.0, sigma=0.1) 106 [3, 3], dtype=dtypes.complex64, max_error=100.0, bias=0.0, sigma=0.1) 462 err = gradient_checker_v2.max_error( 472 err = gradient_checker_v2.max_error(
|
/external/skqp/tools/skqp/ |
D | README_ALGORITHM.md | 48 max_error = 0 68 max_error = max(max_error, pixel_error) 76 return ((total_error, max_error, bad_pixels), error_image) 88 backend_name,render_test_name,max_error,bad_pixels,total_error 93 well as the three metrics: `max_error`, `bad_pixels`, and `total_error`.
|
/external/skia/tools/skqp/ |
D | README_ALGORITHM.md | 48 max_error = 0 68 max_error = max(max_error, pixel_error) 76 return ((total_error, max_error, bad_pixels), error_image) 88 backend_name,render_test_name,max_error,bad_pixels,total_error 93 well as the three metrics: `max_error`, `bad_pixels`, and `total_error`.
|
/external/libpng/contrib/tools/ |
D | makesRGB.c | 79 double max_error = 0; in main() local 303 max_error = .4999; in main() 315 if (err > (max_error+.001) || err < (min_error-.001)) in main() 324 if (err > max_error) in main() 325 max_error = err; in main() 385 min_error, max_error, error_count, (100.*error_count)/max_input); in main()
|
/external/ImageMagick/Magick++/tests/ |
D | color.cpp | 117 double max_error = resolution + MagickEpsilon; in main() local 122 if ( gray.shade() < value - max_error || gray.shade() > value + max_error ) in main()
|
/external/libvpx/libvpx/test/ |
D | vp8_fdct4x4_test.cc | 154 int max_error = 0; in TEST_P() local 174 if (max_error < error) max_error = error; in TEST_P() 179 EXPECT_GE(1, max_error) in TEST_P()
|
D | dct32x32_test.cc | 115 uint32_t max_error = 0; in TEST_P() local 161 if (max_error < error) max_error = error; in TEST_P() 167 max_error /= 2; in TEST_P() 171 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) in TEST_P()
|
D | fdct8x8_test.cc | 215 int max_error = 0; in RunRoundTripErrorCheck() local 273 if (max_error < error) max_error = error; in RunRoundTripErrorCheck() 278 EXPECT_GE(1 << 2 * (bit_depth_ - 8), max_error) in RunRoundTripErrorCheck() 289 int max_error = 0; in RunExtremalCheck() local 356 if (max_error < error) max_error = error; in RunExtremalCheck() 363 EXPECT_GE(1 << 2 * (bit_depth_ - 8), max_error) in RunExtremalCheck()
|
D | dct_test.cc | 218 uint32_t max_error = 0; in RunAccuracyCheck() local 253 if (max_error < error) max_error = error; in RunAccuracyCheck() 259 EXPECT_GE(static_cast<uint32_t>(limit), max_error) in RunAccuracyCheck()
|
/external/autotest/client/site_tests/kernel_Ktime/ |
D | kernel_Ktime.py | 185 max_error = start_error + current_error 186 drift_threshold = elapsed_rtc * self.ALLOWABLE_DRIFT + max_error
|
/external/webrtc/talk/media/base/ |
D | videoframe_unittest.h | 446 int max_error) { in IsPlaneEqual() argument 451 if (abs(static_cast<int>(r1[x] - r2[x])) > max_error) { in IsPlaneEqual() 477 int max_error) { in IsEqual() argument 485 static_cast<uint32_t>(height), max_error) && in IsEqual() 488 static_cast<uint32_t>((height + 1) / 2), max_error) && in IsEqual() 491 static_cast<uint32_t>((height + 1) / 2), max_error); in IsEqual() 496 int max_error) { in IsEqual() argument 504 max_error); in IsEqual() 509 int hcrop, int vcrop, int max_error) { in IsEqualWithCrop() argument 526 max_error); in IsEqualWithCrop()
|