Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasJobSpec

Inherits:
Object
  • Object
show all
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

Represents the spec of a NasJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NasJobSpec

Returns a new instance of GoogleCloudAiplatformV1beta1NasJobSpec.



18394
18395
18396
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18394

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#multi_trial_algorithm_specGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasJobSpecMultiTrialAlgorithmSpec

The spec of multi-trial Neural Architecture Search (NAS). Corresponds to the JSON property multiTrialAlgorithmSpec



18380
18381
18382
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18380

def multi_trial_algorithm_spec
  @multi_trial_algorithm_spec
end

#resume_nas_job_idString

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

Returns:

  • (String)


18387
18388
18389
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18387

def resume_nas_job_id
  @resume_nas_job_id
end

#search_space_specString

It defines the search space for Neural Architecture Search (NAS). Corresponds to the JSON property searchSpaceSpec

Returns:

  • (String)


18392
18393
18394
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18392

def search_space_spec
  @search_space_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18399
18400
18401
18402
18403
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18399

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