<p>Hi, @ theSundayProgrammer</p>

<p>I think your copy constructor implementation are quite cool, it lower down the dependency between layer and optimizer, make codes become easier to read and serialize. If you already implement the serialization of ann based on it, please open a PR. I will delete my pull request <a href="https://github.com/mlpack/mlpack/pull/516" class="issue-link js-issue-link" data-url="https://github.com/mlpack/mlpack/issues/516" data-id="131486005" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#516</a> after that. Thanks for your helps :).</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/516#issuecomment-183130566">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFGS5kWUrQhmZizqFwsRQnaDon4N3ks5pjSMigaJpZM4HTzyk.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/516#issuecomment-183130566"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>