toTrainingInputMode method
Implementation
TrainingInputMode toTrainingInputMode() {
switch (this) {
case 'Pipe':
return TrainingInputMode.pipe;
case 'File':
return TrainingInputMode.file;
}
throw Exception('$this is not known in enum TrainingInputMode');
}