Skip to content

Commit

Permalink
Merge pull request #3179 from niboshi/doc-leaky-relu
Browse files Browse the repository at this point in the history
Fix doc of leaky_relu
  • Loading branch information
okuta committed Aug 24, 2017
2 parents a1d03da + 0120481 commit 222ce7b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chainer/functions/activation/leaky_relu.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,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 222ce7b

Please sign in to comment.