Bayesian view on the training of invertible residual networks for solving linear inverse problems