LinearLayer

Type Alias LinearLayer 

Source
pub type LinearLayer<T> = LayerBase<Linear, T>;
Expand description

A type alias for a layer using a linear activation function.

Aliased Type§

pub struct LinearLayer<T> {
    pub rho: Linear,
    pub params: T,
}

Fields§

§rho: Linear

the activation function of the layer

§params: T

the parameters of the layer; often weights and biases