Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
The spec of multi-trial Neural Architecture Search (NAS).
Instance Attribute Summary collapse
-
#metric ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec
Represents a metric to optimize.
-
#multi_trial_algorithm ⇒ String
The multi-trial Neural Architecture Search (NAS) algorithm type.
-
#search_trial_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec
Represent spec for search trials.
-
#train_trial_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec
Represent spec for train trials.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec
constructor
A new instance of GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec
Returns a new instance of GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec.
16685 16686 16687 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecMetricSpec
Represents a metric to optimize.
Corresponds to the JSON property metric
16667 16668 16669 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16667 def metric @metric end |
#multi_trial_algorithm ⇒ String
The multi-trial Neural Architecture Search (NAS) algorithm type. Defaults to
REINFORCEMENT_LEARNING
.
Corresponds to the JSON property multiTrialAlgorithm
16673 16674 16675 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16673 def multi_trial_algorithm @multi_trial_algorithm end |
#search_trial_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecSearchTrialSpec
Represent spec for search trials.
Corresponds to the JSON property searchTrialSpec
16678 16679 16680 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16678 def search_trial_spec @search_trial_spec end |
#train_trial_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec
Represent spec for train trials.
Corresponds to the JSON property trainTrialSpec
16683 16684 16685 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16683 def train_trial_spec @train_trial_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16690 16691 16692 16693 16694 16695 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16690 def update!(**args) @metric = args[:metric] if args.key?(:metric) @multi_trial_algorithm = args[:multi_trial_algorithm] if args.key?(:multi_trial_algorithm) @search_trial_spec = args[:search_trial_spec] if args.key?(:search_trial_spec) @train_trial_spec = args[:train_trial_spec] if args.key?(:train_trial_spec) end |