A Review of Deep Learning Applications for the Next Generation of Cognitive Networks