def train_task(self):
        return [t for t in self.tasks if isinstance(t, tasks.TrainTask)][0]
Return the first TrainTask for this job
dataset/ETHPy150Open NVIDIA/DIGITS/digits/model/job.py/ModelJob.train_task