[mlpack-git] master: Style overhaul, and clarify some comments. (89fb9ec)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Mon May 4 15:14:46 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/6caf31a493719a3a5edf2fdcde9b0eef9e165944...6137e52d32c1338b28853afd059b67cf68a50270

>---------------------------------------------------------------

commit 89fb9ec142cdee2f9a7b892c7741f18bd2d379fe
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Mon May 4 19:19:59 2015 +0200

    Style overhaul, and clarify some comments.


>---------------------------------------------------------------

89fb9ec142cdee2f9a7b892c7741f18bd2d379fe
 src/mlpack/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 0257e2b..c45bed4 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()) :



More information about the mlpack-git mailing list