Consistent Bayesian learning for neural network models : theory and computation