Deep Learning Prediction of Beam Coherence Time for Near-FieldTeraHertz Networks