Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjj committed Jul 27, 2017
1 parent a2b2fe2 commit 31c60d3
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 31c60d3

Please sign in to comment.