summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2020-03-29 23:31:17 +0200
committerSuren A. Chilingaryan <csa@suren.me>2020-03-29 23:31:17 +0200
commitf59a2ea520ba9fb453582b9a4246f3f8e5257474 (patch)
tree969351808c9d6e8def1362cee75730b78e23aa6c /src
parentcd0dd76a48aada43c3066642a8eb327a0374d113 (diff)
downloadregularization-fast_tnv.tar.gz
regularization-fast_tnv.tar.bz2
regularization-fast_tnv.tar.xz
regularization-fast_tnv.zip
Remove verification outputfast_tnv
Diffstat (limited to 'src')
-rwxr-xr-xsrc/Core/regularisers_CPU/TNV_core.c4
-rwxr-xr-xsrc/Core/regularisers_CPU/TNV_core_backtrack.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Core/regularisers_CPU/TNV_core.c b/src/Core/regularisers_CPU/TNV_core.c
index 7b8023b..21f228d 100755
--- a/src/Core/regularisers_CPU/TNV_core.c
+++ b/src/Core/regularisers_CPU/TNV_core.c
@@ -617,7 +617,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to
float b = (2.0f * tau * sigma * product) / (gamma * sigma * unorm + gamma * tau * qnorm);
float dual_dot_delta = resdual * s * delta;
float dual_div_delta = (resdual * s) / delta;
- printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm);
+// printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm);
if(b > 1) {
@@ -658,7 +658,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to
printf("Iterations stopped at %i with the residual %f \n", iter, residual);
- printf("Return: %f\n", *uT);
+// printf("Return: %f\n", *uT);
return *uT;
}
diff --git a/src/Core/regularisers_CPU/TNV_core_backtrack.c b/src/Core/regularisers_CPU/TNV_core_backtrack.c
index 7eb367e..f166f5b 100755
--- a/src/Core/regularisers_CPU/TNV_core_backtrack.c
+++ b/src/Core/regularisers_CPU/TNV_core_backtrack.c
@@ -636,7 +636,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to
float b = (2.0f * tau * sigma * product) / (gamma * sigma * unorm + gamma * tau * qnorm);
float dual_dot_delta = resdual * s * delta;
float dual_div_delta = (resdual * s) / delta;
- printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm);
+// printf("resprimal: %f, resdual: %f, b: %f (product: %f, unorm: %f, qnorm: %f)\n", resprimal, resdual, b, product, unorm, qnorm);
if(b > 1) {
@@ -675,7 +675,7 @@ float TNV_CPU_main(float *InputT, float *uT, float lambda, int maxIter, float to
printf("Iterations stopped at %i with the residual %f \n", iter, residual);
- printf("Return: %f\n", *uT);
+// printf("Return: %f\n", *uT);
return *uT;
}