From 1f0705ae92d95b085bf9487770e8287c4c07fc79 Mon Sep 17 00:00:00 2001 From: Davis King Date: Thu, 28 Apr 2016 19:41:27 -0400 Subject: [PATCH] clarified example --- examples/dnn_mnist_advanced_ex.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/dnn_mnist_advanced_ex.cpp b/examples/dnn_mnist_advanced_ex.cpp index 031becc3d..80fd03252 100644 --- a/examples/dnn_mnist_advanced_ex.cpp +++ b/examples/dnn_mnist_advanced_ex.cpp @@ -56,7 +56,9 @@ template using ares_down = base_ares<2,SUBNET>; // Now that we have these convenient aliases, we can define a residual network // without a lot of typing. Note the use of a repeat layer. This special layer // type allows us to type repeat<9,res> instead of -// res>>>>>>>>. +// res>>>>>>>>. It will also prevent +// the compiler from complaining about super deep template nesting when creating +// large networks. const unsigned long number_of_classes = 10; using net_type = loss_multiclass_log