AI-in-Sensor