[mlpack-git] [mlpack] Serialization of ann (#513)
Marcus Edel
notifications at github.com
Fri Mar 4 15:48:02 EST 2016
I guess, the problem can be solved by using soemthing like this:
```
Serialize(Archive& ar, const unsigned int /* version */)
{
ar & data::CreateNVP(parameter, "parameter");
if (Archive::is_loading::value)
{
NetworkWeights(parameter, network);
}
}
```
I can't test this right now.
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/513#issuecomment-192462055
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160304/a9c8ca2c/attachment.html>
More information about the mlpack-git
mailing list