Deep neural networks to accelerate and reproduce DFT