JuliaDiff / DiffRules.jl

A simple shared suite of common derivative definitions
Other
75 stars 38 forks source link

Compute tanh derivative as 1 - tanh(x)^2 #30

Closed Keno closed 5 years ago

Keno commented 5 years ago

The intention here is to allow CSE to re-use the value it computed on the forward pass.