Energy-Efficient Deployment of Machine Learning Workloads on Neuromorphic Hardware