Deep Learning Optics For Computational Microscopy And Diffractive Computing