Vertical oxygen-gradient-engineered photoelectrochemical transistors for efficient on-chip sparsity capture and neural network processing units | Synapse