Optimal Configuration Planning of Multi-Energy Systems using Optimization-based Deep Learning Technique