PHASER performs neural-network computation with light circulating between mirrors through programmable modulators.