VFunc: a Deep Generative Model for Functions