[mlpack-git] master: implement serialize (5782655)
gitdub at mlpack.org
gitdub at mlpack.org
Sat Feb 27 10:51:56 EST 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/a2e57d617e952f1ea2fda8a23e1c6bd2f78beb6d...1bedf15126f6bd0bc93a3233914ac95486a3c0da
>---------------------------------------------------------------
commit 5782655fb8b1dc0c360e6e47fd31cb483e068f03
Author: stereomatchingkiss <stereomatchingkiss at gmail.com>
Date: Sat Feb 27 23:51:56 2016 +0800
implement serialize
>---------------------------------------------------------------
5782655fb8b1dc0c360e6e47fd31cb483e068f03
src/mlpack/methods/ann/layer/multiclass_classification_layer.hpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/mlpack/methods/ann/layer/multiclass_classification_layer.hpp b/src/mlpack/methods/ann/layer/multiclass_classification_layer.hpp
index f74ac28..0cf51e0 100644
--- a/src/mlpack/methods/ann/layer/multiclass_classification_layer.hpp
+++ b/src/mlpack/methods/ann/layer/multiclass_classification_layer.hpp
@@ -61,6 +61,14 @@ class MulticlassClassificationLayer
{
output = inputActivations;
}
+
+ /**
+ * Serialize the layer
+ */
+ template<typename Archive>
+ void Serialize(Archive& ar, const unsigned int /* version */)
+ {
+ }
}; // class MulticlassClassificationLayer
//! Layer traits for the multiclass classification layer.
More information about the mlpack-git
mailing list