Initialisation
BFlux.BNNInitialiser
— Typeabstract type BNNInitialiser end
To initialise BNNs, BNNInitialisers are used. These must be callable and must return three vectors
θnet
the initial values for the network parametersθhyper
the initial values for any hyperparameters introduced by the NetworkPriorθlike
the initial values for any extra parameters introduced by the likelihood
Implementation
Every BNNInitialiser must be callable and must return the above three things:
(init::BNNInitialiser)(rng::AbstractRNG) -> (θnet, θhyper, θlike)
BFlux.InitialiseAllSame
— TypeInitialiseAllSame(dist::D, like::BNNLikelihood, prior::NetworkPrior)
Initialise all values by drawing from dist