diff --git a/src/mlpack/methods/ann/layer/weight_norm_impl.hpp b/src/mlpack/methods/ann/layer/weight_norm_impl.hpp index d56b6156dc..dd08027c93 100644 --- a/src/mlpack/methods/ann/layer/weight_norm_impl.hpp +++ b/src/mlpack/methods/ann/layer/weight_norm_impl.hpp @@ -152,7 +152,7 @@ void WeightNorm::serialize( boost::apply_visitor(deleteVisitor, wrappedLayer); } - ar & BOOST_SERIALIZATION_NVP(wrappedLayer); + //ar & BOOST_SERIALIZATION_NVP(wrappedLayer); ar & BOOST_SERIALIZATION_NVP(layerWeightSize); // If we are loading, we need to initialize the weights.