tensornn.activation.LecunTanh
- class tensornn.activation.LecunTanh
Bases:
ActivationThe LeCun Tanh function is a scaled version of the tanh function, such that LecunTanh(1) = 1 and LecunTanh(-1) = -1
Methods
The derivative of the function.
Calculate a forwards pass of this activation function.
source- __repr__()
Return repr(self).