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