<p>I haven't implemented serialization of cubes yet. Take a look at <code>src/mlpack/core/arma_extend/Mat_extra_bones.hpp</code>, <code>src/mlpack/core/arma_extend/Mat_extra_meat.hpp</code>, and <code>src/mlpack/core/arma_extend/arma_extend.hpp</code> to see how I wrote <code>serialize()</code> for <code>arma::Mat<></code>. You can do the same thing with cubes, just the definitions will be <code>ARMA_EXTRA_CUBE_PROTO</code> and <code>ARMA_EXTRA_CUBE_MEAT</code>. Are you willing to implement that for cube? It shouldn't be too hard, but if you do, can you also write a few tests in <code>serialization_test.cpp</code>? (You can look at the tests I wrote for Mat there too.)</p>
<p>If you don't have time, I can get around to it eventually, but as always, my todo list is quite long... :)</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/513#issuecomment-180066627">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFG3M0pMTDGsaYCyy8YHOtHPrCBC3ks5pg79dgaJpZM4HQHGn.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/issues/513#issuecomment-180066627"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>