Interface NasJobSpec.MultiTrialAlgorithmSpecOrBuilder (3.12.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the trainTrialSpec field is set.