A reconfigurable WSe2 photodiode array demonstrates how image sensing and neural-network operations can occur together. The approach reduces the need to move raw visual data through a separate processing chain, with potential relevance to time-critical machine vision.