Neural networks-based regularization for large-scale medical image reconstruction