Photonic integrated circuits based optimization and enhancing data transmission for radio access networks using machine learning model