Network spectrum resource allocation and optimization based on deep learning and TRDM