Interface NasJobSpec.MultiTrialAlgorithmSpecOrBuilder (3.49.0)

public static interface NasJobSpec.MultiTrialAlgorithmSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetric()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec getMetric()

Metric specs for the NAS job. Validation for this field is done at multi_trial_algorithm_spec field.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec

The metric.

getMetricOrBuilder()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder getMetricOrBuilder()

Metric specs for the NAS job. Validation for this field is done at multi_trial_algorithm_spec field.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder

getMultiTrialAlgorithm()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm getMultiTrialAlgorithm()

The multi-trial Neural Architecture Search (NAS) algorithm type. Defaults to REINFORCEMENT_LEARNING.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm

The multiTrialAlgorithm.

getMultiTrialAlgorithmValue()

public abstract int getMultiTrialAlgorithmValue()

The multi-trial Neural Architecture Search (NAS) algorithm type. Defaults to REINFORCEMENT_LEARNING.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1;

Returns
Type Description
int

The enum numeric value on the wire for multiTrialAlgorithm.

getSearchTrialSpec()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec getSearchTrialSpec()

Required. Spec for search trials.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec

The searchTrialSpec.

getSearchTrialSpecOrBuilder()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder getSearchTrialSpecOrBuilder()

Required. Spec for search trials.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder

getTrainTrialSpec()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec getTrainTrialSpec()

Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec

The trainTrialSpec.

getTrainTrialSpecOrBuilder()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder getTrainTrialSpecOrBuilder()

Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;

Returns
Type Description
NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder

hasMetric()

public abstract boolean hasMetric()

Metric specs for the NAS job. Validation for this field is done at multi_trial_algorithm_spec field.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;

Returns
Type Description
boolean

Whether the metric field is set.

hasSearchTrialSpec()

public abstract boolean hasSearchTrialSpec()

Required. Spec for search trials.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the searchTrialSpec field is set.

hasTrainTrialSpec()

public abstract boolean hasTrainTrialSpec()

Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] search trials will be trained for every M [TrainTrialSpec.frequency] trials searched.

.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;

Returns
Type Description
boolean

Whether the trainTrialSpec field is set.