Two-dimensional material-based devices for in-sensor computing | Synapse