Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjj committed Jun 13, 2017
1 parent b38e97b commit d2e9832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autograd/cupy/cupy_grads.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
unbroadcast(vs, gvs, g * y * x ** acp.where(y, y - 1, 1)))

acp.exp.defvjp(lambda g, ans, vs, gvs, x : ans * g)
acp.sinh.defvjp(lambda g, ans, vs, gvs, x: g * acp.cosh)
acp.sinh.defvjp(lambda g, ans, vs, gvs, x: g * acp.cosh(x))
acp.cosh.defvjp(lambda g, ans, vs, gvs, x: g * acp.sinh(x))
acp.tanh.defvjp(lambda g, ans, vs, gvs, x: g / acp.cosh(x)**2)
acp.negative.defvjp(lambda g, ans, vs, gvs, x: -g)
Expand Down

0 comments on commit d2e9832

Please sign in to comment.