Skip to content

Commit

Permalink
Fix leaky_relu document
Browse files Browse the repository at this point in the history
  • Loading branch information
niboshi committed Aug 18, 2017
1 parent 383ead7 commit 681425f
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 681425f

Please sign in to comment.