Interface NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder (3.18.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
TypeDescription
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
TypeDescription
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.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the trainTrialJobSpec field is set.