Skip to content

Commit

Permalink
Merge 681425f into 383ead7
Browse files Browse the repository at this point in the history
  • Loading branch information
niboshi committed Aug 18, 2017
2 parents 383ead7 + 681425f commit b806758
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chainer/functions/activation/leaky_relu.py
Expand Up @@ -59,7 +59,12 @@ def leaky_relu(x, slope=0.2):
This function is expressed as
.. math:: f(x)=\\max(x, ax),
.. math::
f(x) = \\left \\{ \\begin{array}{ll}
x & {\\rm if}~ x \\ge 0 \\\\
ax & {\\rm if}~ x < 0,
\\end{array} \\right.
where :math:`a` is a configurable slope value.
Expand Down

0 comments on commit b806758

Please sign in to comment.