<p>I would appreciate it if you could open a pull request for the LeakyReLU layer and another pull request for the HardTanh layer. It makes it a lot easier for me to go through the code and make comments.</p>

<p>Regarding the test, everything between min and max should be 1 min &gt;= x &lt;= max.</p>

<p>As you might have already noticed, writing tests in mlpack is done with the Boost Unit Test Framework. If you write a test suite called "TestSuite" (BOOST_AUTO_TEST_SUITE(TestSuite)), and then build 'mlpack_test' ('make mlpack_test'), you can run only the tests in that test suite with 'bin/mlpack_test -t TestSuite'.  A specific test case called 'TestCase' (BOOST_AUTO_TEST_CASE(TestCase)) could be run with 'bin/mlpack_test -t TestSuite/TestCase'.</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/544#issuecomment-191900999">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFOl2BAD4qJM9waLGzw_hYKSgpZXWks5ppylggaJpZM4HoKi1.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/544#issuecomment-191900999"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>