toHyperParameterTuningJobObjectiveType method
Implementation
HyperParameterTuningJobObjectiveType
toHyperParameterTuningJobObjectiveType() {
switch (this) {
case 'Maximize':
return HyperParameterTuningJobObjectiveType.maximize;
case 'Minimize':
return HyperParameterTuningJobObjectiveType.minimize;
}
throw Exception(
'$this is not known in enum HyperParameterTuningJobObjectiveType');
}