Bayesian filtering unifies adaptive and non-adaptive neural network optimization methods