From 89fb9ec142cdee2f9a7b892c7741f18bd2d379fe Mon Sep 17 00:00:00 2001 From: Marcus Edel Date: Mon, 4 May 2015 19:19:59 +0200 Subject: [PATCH] Style overhaul, and clarify some comments. --- .../methods/ann/connections/full_connection.hpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/mlpack/methods/ann/connections/full_connection.hpp b/src/mlpack/methods/ann/connections/full_connection.hpp index 0257e2b648..c45bed4eb0 100644 --- a/src/mlpack/methods/ann/connections/full_connection.hpp +++ b/src/mlpack/methods/ann/connections/full_connection.hpp @@ -39,15 +39,15 @@ class FullConnection public: /** * Create the FullConnection object using the specified input layer, output - * layer, optimizer and weight initialize rule. + * layer, optimizer and weight initialization rule. * * @param InputLayerType The input layer which is connected with the output * layer. * @param OutputLayerType The output layer which is connected with the input * layer. * @param OptimizerType The optimizer used to update the weight matrix. - * @param WeightInitRule The weight initialize rule used to initialize the - * weight matrix. + * @param WeightInitRule The weights initialization rule used to initialize the + * weights matrix. */ FullConnection(InputLayerType& inputLayer, OutputLayerType& outputLayer, @@ -62,6 +62,17 @@ class FullConnection inputLayer.OutputSize() * inputLayer.LayerSlices()); } + /** + * Create the FullConnection object using the specified input layer, output + * layer and weight initialization rule. + * + * @param InputLayerType The input layer which is connected with the output + * layer. + * @param OutputLayerType The output layer which is connected with the input + * layer. + * @param WeightInitRule The weights initialization rule used to initialize the + * weights matrix. + */ FullConnection(InputLayerType& inputLayer, OutputLayerType& outputLayer, WeightInitRule weightInitRule = WeightInitRule()) :