/external/tensorflow/tensorflow/python/keras/layers/ |
lstm_v2_test.py | 197 atol=1e-4) 206 atol=1e-4) 260 self.assertAllClose(keras.backend.eval(layer.states[0]), state, atol=1e-4) 344 self.assertAllClose(y_1, y_3, rtol=1e-5, atol=2e-5) 345 self.assertAllClose(y_2, y_4, rtol=1e-5, atol=2e-5) 622 self.assertAllClose(out3, out4, atol=1e-5) 643 self.assertAllClose(out7, out6, atol=1e-5) [all...] |
local_test.py | 282 rtol=1e-5, atol=1e-5) 298 out_1, out_2, atol=2e-4)
|
recurrent_test.py | 198 self.assertAllClose(y_np, y_np_2, atol=1e-4) 224 self.assertAllClose(y_np, y_np_2, atol=1e-4) 377 self.assertAllClose(y_np_1, y_np_2, atol=1e-4) 452 self.assertAllClose(y_np, y_np_2, atol=1e-4) 461 self.assertAllClose(y_np, y_np_3, atol=1e-4) 507 self.assertAllClose(y_np, y_np_2, atol=1e-4) 583 self.assertAllClose(y_np, y_np_2, atol=1e-4) 588 self.assertAllClose(y_np, y_np_2_different_s, atol=1e-4) 597 self.assertAllClose(y_np, y_np_3, atol=1e-4) 707 self.assertAllClose(y_np, y_np_2, atol=1e-4 [all...] |
/external/compiler-rt/lib/asan/ |
asan_interceptors.cc | 644 INTERCEPTOR(long, atol, const char *nptr) { // NOLINT 646 ASAN_INTERCEPTOR_ENTER(ctx, atol); 648 if (UNLIKELY(!asan_inited)) return REAL(atol)(nptr); 652 return REAL(atol)(nptr); 751 ASAN_INTERCEPT_FUNC(atol);
|
/external/linux-kselftest/tools/testing/selftests/rseq/ |
param_test.c | 1182 loop_cnt[argv[i][1] - '0'] = atol(argv[i + 1]); 1190 opt_modulo = atol(argv[i + 1]); 1202 opt_sleep = atol(argv[i + 1]); 1223 opt_disable_mod = atol(argv[i + 1]); 1235 opt_threads = atol(argv[i + 1]);
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
gradients_test.py | 358 def run_and_assert_equal(self, targets1, targets2, atol=1e-4, rtol=1e-4): 367 self.assertAllClose(outputs[i], outputs[i + n], rtol=rtol, atol=atol) 560 rtol=2e-3, atol=1e-3) 562 rtol=2e-3, atol=1e-3)
|
/external/python/cpython2/Lib/test/ |
test_string.py | 83 self.assertEqual(string.atol(" 1 "), 1L) 84 self.assertRaises(ValueError, string.atol, " 1x ") 85 self.assertRaises(ValueError, string.atol, " x1 ")
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
sparse_tensor_dense_matmul_op_test.py | 86 self.assertAllClose(np_ans, out, rtol=1e-4, atol=1e-4) 88 self.assertAllClose(np_ans, out, rtol=1e-6, atol=1e-6) 90 self.assertAllClose(np_ans, out, rtol=1e-4, atol=1e-4)
|
batchtospace_op_test.py | 265 self.assertAllClose(x_jacob_t, x_jacob_n, rtol=1e-2, atol=epsilon) 326 self.assertAllClose(x_jacob_t, x_jacob_n, rtol=1e-2, atol=epsilon)
|
matmul_op_test.py | 135 self.assertAllClose(theoretical, numerical, rtol=tol, atol=tol) 141 self.assertAllClose(theoretical, numerical, rtol=tol, atol=tol)
|
tensordot_op_test.py | 187 self.assertAllClose(tf_ans, np_ans, rtol=tol, atol=tol) 217 self.assertAllClose(tf_ans, np_ans, rtol=tol, atol=tol)
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
optimizer_v2_test.py | 503 float(backend.get_value(model.optimizer.lr)), 0.1, atol=1e-4) 523 float(backend.get_value(model.optimizer.lr)), 0.01, atol=1e-4) 585 rtol=1e-5, atol=1e-5) 587 rtol=1e-5, atol=1e-5) 721 self.assertAllClose([0., 1.], fn(), atol=1e-4) 722 self.assertAllClose([-1, 0.], fn(), atol=1e-4)
|
/cts/apps/CameraITS/pymodules/its/ |
cv2image.py | 366 numpy.sqrt(2), atol=0.1)) 368 numpy.sqrt(2), atol=0.1))
|
/external/scapy/scapy/layers/ |
dhcp.py | 322 self.network = ltoa(atol(netw)&msk) 323 self.broadcast = ltoa( atol(self.network) | (0xffffffff&~msk) )
|
/external/tensorflow/tensorflow/compiler/tests/ |
depthwise_conv_op_test.py | 342 self.assertAllClose(cpu_value, gpu_value, rtol=1e-3, atol=1e-3) 398 self.assertAllClose(cpu_value, gpu_value, rtol=1e-4, atol=1e-4)
|
fft_test.py | 35 ATOL = 1e-3 79 self.assertAllClose(expected, value, rtol=RTOL, atol=ATOL) 105 self.assertAllClose(expected, value, rtol=RTOL, atol=ATOL)
|
pooling_ops_3d_test.py | 295 atol=1e-6) 311 atol=1e-6)
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
negative_binomial_test.py | 237 atol=0., 241 atol=0.,
|
poisson_test.py | 232 atol=0) 248 sample_values.var(axis=0), stats.poisson.var(lam_v), rtol=.03, atol=0)
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
blocks_test.py | 119 def _check_grad_angle(self, grads, grads_true, atol=1e0): 123 self.assertLessEqual(degree, atol)
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
spectral_normalization_test.py | 163 np.allclose(w_before, w_after, rtol=1e-8, atol=1e-8), 170 atol=1e-4,
|
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/ |
interpolate_spline_test.py | 191 train_values_, scipy_interpolation_on_train, atol=tol, rtol=tol) 192 self.assertAllClose(interp_, scipy_interpolation, atol=tol, rtol=tol)
|
/external/tensorflow/tensorflow/contrib/losses/python/losses/ |
loss_ops_test.py | [all...] |
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
math_utils_test.py | 73 atol=1e-5) 87 atol=1e-5)
|
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/ |
quantization_mnist_test.py | 277 self.assertAllClose(0.9662, accuracy_tf_native, rtol=3e-3, atol=3e-3) 289 self.assertAllClose(0.9675, accuracy_tf_trt, rtol=1e-3, atol=1e-3)
|