<p>Thanks for the contribution. Before I merge the code in (I guess you will open a pull request) could you take a look at the design guidelines especially the comments section:</p>

<p><a href="https://github.com/mlpack/mlpack/wiki/DesignGuidelines">https://github.com/mlpack/mlpack/wiki/DesignGuidelines</a></p>

<p>It's minor, but I tend to be picky about code but I am not mean. :)</p>

<p>It would also be great if you could combine the two constructors into one:</p>

<pre><code>LeakyReLULayer(double alpha = 0.01) : alpha(alpha)
</code></pre>

<p>And last but not least, can you add a function that returns alpha and enables the modification of alpha?</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/issues/412#issuecomment-191482825">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFH_5AzXwNf5_tlRDLQONX57wsMBHks5pphcAgaJpZM4DnsOk.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/issues/412#issuecomment-191482825"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>