Intelligent Resource Management with Deep Reinforcement Learning in Device-To-Device Communication