Lithography-free photonic chip offers speed and accuracy for AI