Elastic Inference