From 2639a5233eb86e7d48b2b9ddea96d3471b923414 Mon Sep 17 00:00:00 2001 From: Davis King Date: Mon, 4 Jan 2016 17:55:59 -0500 Subject: [PATCH] Improved outputs from test_layer(). --- dlib/dnn/core.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlib/dnn/core.h b/dlib/dnn/core.h index b2d085628..662452ed4 100644 --- a/dlib/dnn/core.h +++ b/dlib/dnn/core.h @@ -2569,6 +2569,7 @@ namespace dlib sout << "Gradient error in parameter #" << i <<". Relative error: "<< relative_error << endl; sout << "expected derivative: " << reference_derivative << endl; sout << "output derivative: " << output_derivative << endl; + sout << "iteration: " << iter << endl; return layer_test_results(sout.str()); } } @@ -2606,6 +2607,7 @@ namespace dlib sout << "Gradient error in data variable #" << i <<". Relative error: "<< relative_error << endl; sout << "expected derivative: " << reference_derivative << endl; sout << "output derivative: " << output_derivative << endl; + sout << "iteration: " << iter << endl; return layer_test_results(sout.str()); } }