Bayesian Inference with Deep Weakly Nonlinear Networks