Interface NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder (3.44.0)

public static interface NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFrequency()

public abstract int getFrequency()

Required. Frequency of search trials to start train stage. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.

int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The frequency.

getMaxParallelTrialCount()

public abstract int getMaxParallelTrialCount()

Required. The maximum number of trials to run in parallel.

int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The maxParallelTrialCount.

getTrainTrialJobSpec()

public abstract CustomJobSpec getTrainTrialJobSpec()

Required. The spec of a train trial job. The same spec applies to all train trials.

.google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomJobSpec

The trainTrialJobSpec.

getTrainTrialJobSpecOrBuilder()

public abstract CustomJobSpecOrBuilder getTrainTrialJobSpecOrBuilder()

Required. The spec of a train trial job. The same spec applies to all train trials.

.google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomJobSpecOrBuilder

hasTrainTrialJobSpec()

public abstract boolean hasTrainTrialJobSpec()

Required. The spec of a train trial job. The same spec applies to all train trials.

.google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the trainTrialJobSpec field is set.