Applications of Deep Learning in Electromagnetics