Learning the Space of Deep Models