import simple_inference methods