[mlpack-git] master: Add new connection trait (identity connection). (63b8c8e)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Jul 1 16:29:33 EDT 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/cf08dc96724f70468c8e31ced1761ed000b55b18...222a7e191f8a7925a4870ce1acbd68589899dfde

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

commit 63b8c8e70c227ec311117b315d5aca3b5f292845
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Sun Jun 28 13:45:05 2015 +0200

    Add new connection trait (identity connection).


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

63b8c8e70c227ec311117b315d5aca3b5f292845
 src/mlpack/methods/ann/connections/connection_traits.hpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mlpack/methods/ann/connections/connection_traits.hpp b/src/mlpack/methods/ann/connections/connection_traits.hpp
index e859afe..bd79735 100644
--- a/src/mlpack/methods/ann/connections/connection_traits.hpp
+++ b/src/mlpack/methods/ann/connections/connection_traits.hpp
@@ -36,6 +36,11 @@ class ConnectionTraits
    * This is true if the connection is a pooling connection.
    */
   static const bool IsPoolingConnection = false;
+
+  /**
+   * This is true if the connection is a identity connection.
+   */
+  static const bool IsIdentityConnection = false;
 };
 
 }; // namespace ann



More information about the mlpack-git mailing list