FlexInference