Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpec
- 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
Represents the spec of a NasJob.
Instance Attribute Summary collapse
-
#multi_trial_algorithm_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec
The spec of multi-trial Neural Architecture Search (NAS).
-
#resume_nas_job_id ⇒ String
The ID of the existing NasJob in the same Project and Location which will be used to resume search.
-
#search_space_spec ⇒ String
It defines the search space for Neural Architecture Search (NAS).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1NasJobSpec
constructor
A new instance of GoogleCloudAiplatformV1NasJobSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1NasJobSpec
Returns a new instance of GoogleCloudAiplatformV1NasJobSpec.
16648 16649 16650 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#multi_trial_algorithm_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasJobSpecMultiTrialAlgorithmSpec
The spec of multi-trial Neural Architecture Search (NAS).
Corresponds to the JSON property multiTrialAlgorithmSpec
16634 16635 16636 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16634 def multi_trial_algorithm_spec @multi_trial_algorithm_spec end |
#resume_nas_job_id ⇒ String
The ID of the existing NasJob in the same Project and Location which will be
used to resume search. search_space_spec and nas_algorithm_spec are obtained
from previous NasJob hence should not provide them again for this NasJob.
Corresponds to the JSON property resumeNasJobId
16641 16642 16643 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16641 def resume_nas_job_id @resume_nas_job_id end |
#search_space_spec ⇒ String
It defines the search space for Neural Architecture Search (NAS).
Corresponds to the JSON property searchSpaceSpec
16646 16647 16648 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16646 def search_space_spec @search_space_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16653 16654 16655 16656 16657 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16653 def update!(**args) @multi_trial_algorithm_spec = args[:multi_trial_algorithm_spec] if args.key?(:multi_trial_algorithm_spec) @resume_nas_job_id = args[:resume_nas_job_id] if args.key?(:resume_nas_job_id) @search_space_spec = args[:search_space_spec] if args.key?(:search_space_spec) end |