AI-accelerated silicon photonics