pub type TanhLayer<T> = LayerBase<HyperbolicTangent, T>;Expand description
An alias for a [Layer] that uses the hyperbolic tangent function.
Aliased Type§
pub struct TanhLayer<T> {
pub rho: HyperbolicTangent,
pub params: T,
}Fields§
§rho: HyperbolicTangentthe activation function of the layer
params: Tthe parameters of the layer; often weights and biases