Regularity and tailored regularization of deep neural networks, with application to parametric PDEs in uncertainty quantification | Synapse