toTrainingJobEarlyStoppingType method
Implementation
TrainingJobEarlyStoppingType toTrainingJobEarlyStoppingType() {
switch (this) {
case 'Off':
return TrainingJobEarlyStoppingType.off;
case 'Auto':
return TrainingJobEarlyStoppingType.auto;
}
throw Exception('$this is not known in enum TrainingJobEarlyStoppingType');
}