def inference_task(self):
        return [t for t in self.tasks if isinstance(t, tasks.InferenceTask)][0]
Ensure ComplexPattern calling (refinement) works as expected.
dataset/ETHPy150Open NVIDIA/DIGITS/digits/inference/job.py/InferenceJob.inference_task--crossover with--dataset/ETHPy150Open pysb/pysb/pysb/tests/test_core.py/test_complex_pattern_call