Deploying neural networks in sensors with near zero memory budget