Type Alias ModelParams

Source
pub type ModelParams<A = f64, D = Ix2> = ModelParamsBase<OwnedRepr<A>, D>;

Aliased Type§

pub struct ModelParams<A = f64, D = Ix2> {
    pub input: ParamsBase<OwnedRepr<A>, D>,
    pub hidden: Vec<ParamsBase<OwnedRepr<A>, D>>,
    pub output: ParamsBase<OwnedRepr<A>, D>,
}

Fields§

§input: ParamsBase<OwnedRepr<A>, D>

the input layer of the model

§hidden: Vec<ParamsBase<OwnedRepr<A>, D>>

a sequential stack of params for the model’s hidden layers

§output: ParamsBase<OwnedRepr<A>, D>

the output layer of the model