toHyperParameterTuningJobStrategyType method

HyperParameterTuningJobStrategyType toHyperParameterTuningJobStrategyType()

Implementation

HyperParameterTuningJobStrategyType toHyperParameterTuningJobStrategyType() {
  switch (this) {
    case 'Bayesian':
      return HyperParameterTuningJobStrategyType.bayesian;
    case 'Random':
      return HyperParameterTuningJobStrategyType.random;
  }
  throw Exception(
      '$this is not known in enum HyperParameterTuningJobStrategyType');
}