Initialisation
BFlux.BNNInitialiser — Typeabstract type BNNInitialiser endTo initialise BNNs, BNNInitialisers are used. These must be callable and must return three vectors
θnetthe initial values for the network parametersθhyperthe initial values for any hyperparameters introduced by the NetworkPriorθlikethe 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