GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec.fromJson constructor

GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec.fromJson(
    core.Map json_)
    : this(
        frequency: json_.containsKey('frequency')
            ? json_['frequency'] as core.int
            : null,
        maxParallelTrialCount: json_.containsKey('maxParallelTrialCount')
            ? json_['maxParallelTrialCount'] as core.int
            : null,
        trainTrialJobSpec: json_.containsKey('trainTrialJobSpec')
            ? GoogleCloudAiplatformV1CustomJobSpec.fromJson(
                json_['trainTrialJobSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );