Learning Shape Priors With Neural Networks