Learned Approximate Computing For Machine Learning