Interface NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder (3.23.0)

public static interface NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxFailedTrialCount()

public abstract int getMaxFailedTrialCount()

The number of failed trials that need to be seen before failing the NasJob.

If set to 0, Vertex AI decides how many trials must fail before the whole job fails.

int32 max_failed_trial_count = 4;

Returns
TypeDescription
int

The maxFailedTrialCount.

getMaxParallelTrialCount()

public abstract int getMaxParallelTrialCount()

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

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

Returns
TypeDescription
int

The maxParallelTrialCount.

getMaxTrialCount()

public abstract int getMaxTrialCount()

Required. The maximum number of Neural Architecture Search (NAS) trials to run.

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

Returns
TypeDescription
int

The maxTrialCount.

getSearchTrialJobSpec()

public abstract CustomJobSpec getSearchTrialJobSpec()

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

.google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CustomJobSpec

The searchTrialJobSpec.

getSearchTrialJobSpecOrBuilder()

public abstract CustomJobSpecOrBuilder getSearchTrialJobSpecOrBuilder()

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

.google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CustomJobSpecOrBuilder

hasSearchTrialJobSpec()

public abstract boolean hasSearchTrialJobSpec()

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

.google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the searchTrialJobSpec field is set.