<blockquote>
<p>Do you mean that it's essential internally for the ANN code, or that the user should pass in their data as an arma::Cube?</p>
</blockquote>

<p>I think both? At least for cnn, it would be easier to deal with the images if we can treat the cube as the container of  images(with n channels). Exactly, it do not need to be cube, it could be std::vector, we just need a container to store those images, but using arma cube may fit mlpack better.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/523#issuecomment-196092605">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFF42QAz8Nfe6qVB0fkNU7eP17Ex8ks5ptLLTgaJpZM4HhWF3.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/pull/523#issuecomment-196092605"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>