Skip to content

Commit

Permalink
Merge 0120481 into e24f0fe
Browse files Browse the repository at this point in the history
  • Loading branch information
niboshi committed Aug 23, 2017
2 parents e24f0fe + 0120481 commit 6054e9f
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 6054e9f

Please sign in to comment.