pub type LayerParamsBase<F, S, D = Dim<[usize; 2]>, A = f32> = LayerBase<F, ParamsBase<S, D, A>>;Expand description
A type alias for a layer configured to use the ParamsBase instance
Aliased Type§
pub struct LayerParamsBase<F, S, D = Dim<[usize; 2]>, A = f32> {
pub rho: F,
pub params: ParamsBase<S, D, A>,
}Fields§
§rho: Fthe activation function of the layer
params: ParamsBase<S, D, A>the parameters of the layer; often weights and biases