Deep-learning electronic structure calculations