<p>All the original unit tests ran to completion. Added a few more to test copy constructor for FFN (feed forward) and CNN (convolutional). </p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/mlpack/mlpack/pull/519'>https://github.com/mlpack/mlpack/pull/519</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Implemented Copy Ctor But no Unit Tests Yet</li>
  <li>Added Convolutional Network Test. But requires a C++14 comiler to run the unit tests</li>
  <li>conditionally compiled ctor test code for C++14</li>
  <li>formating code to coding standards</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-0">src/mlpack/methods/ann/cnn.hpp</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-1">src/mlpack/methods/ann/ffn.hpp</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-2">src/mlpack/methods/ann/layer/base_layer.hpp</a>
    (12)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-3">src/mlpack/methods/ann/layer/bias_layer.hpp</a>
    (75)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-4">src/mlpack/methods/ann/layer/conv_layer.hpp</a>
    (89)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-5">src/mlpack/methods/ann/layer/dropout_layer.hpp</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-6">src/mlpack/methods/ann/layer/linear_layer.hpp</a>
    (72)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-7">src/mlpack/methods/ann/layer/pooling_layer.hpp</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-8">src/mlpack/methods/ann/layer/softmax_layer.hpp</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-9">src/mlpack/methods/ann/layer/sparse_bias_layer.hpp</a>
    (71)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-10">src/mlpack/methods/ann/layer/sparse_input_layer.hpp</a>
    (75)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-11">src/mlpack/methods/ann/layer/sparse_output_layer.hpp</a>
    (74)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-12">src/mlpack/methods/ann/optimizer/ada_delta.hpp</a>
    (19)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-13">src/mlpack/methods/ann/optimizer/adam.hpp</a>
    (19)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-14">src/mlpack/methods/ann/optimizer/rmsprop.hpp</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-15">src/mlpack/methods/sparse_autoencoder/sparse_autoencoder.hpp</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-16">src/mlpack/tests/convolutional_network_test.cpp</a>
    (199)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/519/files#diff-17">src/mlpack/tests/feedforward_network_test.cpp</a>
    (267)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/mlpack/mlpack/pull/519.patch'>https://github.com/mlpack/mlpack/pull/519.patch</a></li>
  <li><a href='https://github.com/mlpack/mlpack/pull/519.diff'>https://github.com/mlpack/mlpack/pull/519.diff</a></li>
</ul>

<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/519">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFMX-dN4KlYtquC6c8TH_3hRgcsnlks5pikp2gaJpZM4HWwxL.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/519"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>