TanhLayer

Type Alias TanhLayer 

Source
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: HyperbolicTangent

the activation function of the layer

§params: T

the parameters of the layer; often weights and biases