• Programmable photonic chips based on ultrafast laser-induced phase change are fabricated for photonic computing.
• Photonic convolutional neural networks are built on the integrated chip to implement machine learning and achieve image recognition.
• Transient laser-induced phase change dynamics of Sb film are revealed at atomic scale, with phase change time measured.
• This work enables nonvolatile, low-power programmable photonic chips for AI applications.