Deep-learning-empowered synthetic dimension dynamics: morphing of light into topological modes