It's comparable to an old school analog computer (like the ones used long ago to simulate differential equations) using optics instead of analog electronics. They build a physical analogue of a neural network that evaluates the desired function.
https://penntoday.upenn.edu/news/penn-engineers-demonstrate-...