Function coaster_nn::frameworks::native::helper::tanh_grad
source · pub fn tanh_grad<T: Float>(x: T, dx: T) -> T
Expand description
Computes the Tanh Gradient on the CPU
pub fn tanh_grad<T: Float>(x: T, dx: T) -> T
Computes the Tanh Gradient on the CPU