toAlgorithm method
Implementation
Algorithm toAlgorithm() {
switch (this) {
case 'sgd':
return Algorithm.sgd;
}
throw Exception('$this is not known in enum Algorithm');
}
Algorithm toAlgorithm() {
switch (this) {
case 'sgd':
return Algorithm.sgd;
}
throw Exception('$this is not known in enum Algorithm');
}