Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xukai92 committed Apr 28, 2019
1 parent eed7ac1 commit ee8116b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neural/activations.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TODO: implement CUDA kernels for below

log1pexp(x) = log1p(exp(x))
logexpm1(x) = log(-expm1(x))
logexpm1(x) = log(expm1(x))

const softplus = log1pexp
const invsoftplus = logexpm1
Expand Down

0 comments on commit ee8116b

Please sign in to comment.