Lines Matching refs:grad_error

77         auto grad_error = compare_gradients(src_grad, grad_src);  in test_tanh()  local
78 dlog << LINFO << "src error: " << grad_error; in test_tanh()
79 DLIB_TEST(grad_error < 0.001); in test_tanh()
113 auto grad_error = compare_gradients(src_grad, grad_src); in test_sigmoid() local
114 dlog << LINFO << "src error: " << grad_error; in test_sigmoid()
115 DLIB_TEST(grad_error < 0.001); in test_sigmoid()
153 auto grad_error = compare_gradients(src_grad, grad_src); in test_softmax() local
154 dlog << LINFO << "src error: " << grad_error; in test_softmax()
155 DLIB_TEST(grad_error < 0.001); in test_softmax()
204 auto grad_error = compare_gradients(src_grad, grad_src); in test_softmax_all() local
205 dlog << LINFO << "src error: " << grad_error; in test_softmax_all()
206 DLIB_TEST(grad_error < 0.001); in test_softmax_all()
370 auto grad_error = compare_gradients(src_grad, grad_src); in test_batch_normalize() local
371 dlog << LINFO << "src error: " << grad_error; in test_batch_normalize()
372 DLIB_TEST(grad_error < 0.001); in test_batch_normalize()
374 grad_error = compare_gradients(gamma_grad, grad_gamma); in test_batch_normalize()
375 dlog << LINFO << "gamma error: " << grad_error; in test_batch_normalize()
376 DLIB_TEST(grad_error < 0.001); in test_batch_normalize()
378 grad_error = compare_gradients(beta_grad, grad_beta); in test_batch_normalize()
379 dlog << LINFO << "beta error: " << grad_error; in test_batch_normalize()
380 DLIB_TEST(grad_error < 0.001); in test_batch_normalize()
459 auto grad_error = compare_gradients(src_grad, grad_src); in test_batch_normalize_conv() local
460 dlog << LINFO << "src error: " << grad_error; in test_batch_normalize_conv()
461 DLIB_TEST(grad_error < 0.001); in test_batch_normalize_conv()
463 grad_error = compare_gradients(gamma_grad, grad_gamma); in test_batch_normalize_conv()
464 dlog << LINFO << "gamma error: " << grad_error; in test_batch_normalize_conv()
465 DLIB_TEST(grad_error < 0.001); in test_batch_normalize_conv()
467 grad_error = compare_gradients(beta_grad, grad_beta); in test_batch_normalize_conv()
468 dlog << LINFO << "beta error: " << grad_error; in test_batch_normalize_conv()
469 DLIB_TEST(grad_error < 0.001); in test_batch_normalize_conv()