Cosmological Parameter Inference With Deep Learning