Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Represent spec for train trials.
Instance Attribute Summary collapse
-
#frequency ⇒ Fixnum
Required.
-
#max_parallel_trial_count ⇒ Fixnum
Required.
-
#train_trial_job_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomJobSpec
Represents the spec of a CustomJob.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec
Returns a new instance of GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpecTrainTrialSpec.
18572 18573 18574 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frequency ⇒ Fixnum
Required. Frequency of search trials to start train stage. Top N [
TrainTrialSpec.max_parallel_trial_count] search trials will be trained for
every M [TrainTrialSpec.frequency] trials searched.
Corresponds to the JSON property frequency
18560 18561 18562 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18560 def frequency @frequency end |
#max_parallel_trial_count ⇒ Fixnum
Required. The maximum number of trials to run in parallel.
Corresponds to the JSON property maxParallelTrialCount
18565 18566 18567 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18565 def max_parallel_trial_count @max_parallel_trial_count end |
#train_trial_job_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomJobSpec
Represents the spec of a CustomJob.
Corresponds to the JSON property trainTrialJobSpec
18570 18571 18572 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18570 def train_trial_job_spec @train_trial_job_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18577 18578 18579 18580 18581 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18577 def update!(**args) @frequency = args[:frequency] if args.key?(:frequency) @max_parallel_trial_count = args[:max_parallel_trial_count] if args.key?(:max_parallel_trial_count) @train_trial_job_spec = args[:train_trial_job_spec] if args.key?(:train_trial_job_spec) end |