public static final class NasJobSpec.MultiTrialAlgorithmSpec extends GeneratedMessageV3 implements NasJobSpec.MultiTrialAlgorithmSpecOrBuilder
The spec of multi-trial Neural Architecture Search (NAS).
Protobuf type google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int METRIC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int MULTI_TRIAL_ALGORITHM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SEARCH_TRIAL_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TRAIN_TRIAL_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static NasJobSpec.MultiTrialAlgorithmSpec getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static NasJobSpec.MultiTrialAlgorithmSpec.Builder newBuilder()
public static NasJobSpec.MultiTrialAlgorithmSpec.Builder newBuilder(NasJobSpec.MultiTrialAlgorithmSpec prototype)
public static NasJobSpec.MultiTrialAlgorithmSpec parseDelimitedFrom(InputStream input)
public static NasJobSpec.MultiTrialAlgorithmSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(ByteString data)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(CodedInputStream input)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(InputStream input)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(ByteBuffer data)
public static NasJobSpec.MultiTrialAlgorithmSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<NasJobSpec.MultiTrialAlgorithmSpec> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec getDefaultInstanceForType()
public 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.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;
public 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.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;
public NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm getMultiTrialAlgorithm()
The multi-trial Neural Architecture Search (NAS) algorithm
type. Defaults to REINFORCEMENT_LEARNING
.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1;
public int getMultiTrialAlgorithmValue()
The multi-trial Neural Architecture Search (NAS) algorithm
type. Defaults to REINFORCEMENT_LEARNING
.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for multiTrialAlgorithm.
|
public Parser<NasJobSpec.MultiTrialAlgorithmSpec> getParserForType()
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec getSearchTrialSpec()
Required. Spec for search trials.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder getSearchTrialSpecOrBuilder()
Required. Spec for search trials.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public 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.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;
public 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.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;
public final UnknownFieldSet getUnknownFields()
Overrides
public boolean hasMetric()
Metric specs for the NAS job.
Validation for this field is done at multi_trial_algorithm_spec
field.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2;
Returns |
---|
Type | Description |
boolean | Whether the metric field is set.
|
public boolean hasSearchTrialSpec()
Required. Spec for search trials.
.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the searchTrialSpec field is set.
|
public 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.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4;
Returns |
---|
Type | Description |
boolean | Whether the trainTrialSpec field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.Builder newBuilderForType()
protected NasJobSpec.MultiTrialAlgorithmSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public NasJobSpec.MultiTrialAlgorithmSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides