Energy-efficient deep learning inference on edge devices