HyperParameterTuningJobWarmStartConfig.fromJson constructor

HyperParameterTuningJobWarmStartConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HyperParameterTuningJobWarmStartConfig.fromJson(
    Map<String, dynamic> json) {
  return HyperParameterTuningJobWarmStartConfig(
    parentHyperParameterTuningJobs: (json['ParentHyperParameterTuningJobs']
            as List)
        .whereNotNull()
        .map((e) =>
            ParentHyperParameterTuningJob.fromJson(e as Map<String, dynamic>))
        .toList(),
    warmStartType: (json['WarmStartType'] as String)
        .toHyperParameterTuningJobWarmStartType(),
  );
}