<p>The function could do what you suggest, adding two more parameters could make it become more general, but it would make this class more complicated too(more parameter to read and specify). In most cases, I would bet the users only want to use this class to visualize the results of autoencoder and prefer not to change the block height and block width.</p>

<blockquote>
<p>I'd suggest using size_t instead of arma::uword</p>
</blockquote>

<p>I have no problem with this one</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/465#issuecomment-158857836">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFELbae5gL37LW_-5ptfECh8s9TSWks5pIqAwgaJpZM4GWT_f.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/465#issuecomment-158857836"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>