Class Tanh
java.lang.Object
smile.deep.activation.ActivationFunction
smile.deep.activation.Tanh
- All Implemented Interfaces:
Serializable, Function<Tensor,Tensor>, Layer
-
Constructor Details
-
Tanh
public Tanh(boolean inplace) Constructor.- Parameters:
inplace- true if the operation executes in-place.
-
-
Method Details
-
forward
-