Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter

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

A wrapper class which contains the tunable parameters in an AutoML Image training job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutomlImageTrainingTunableParameter.



27551
27552
27553
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27551

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

Instance Attribute Details

#checkpoint_nameString

Optional. An unique name of pretrained model checkpoint provided in model garden, it will be mapped to a GCS location internally. Corresponds to the JSON property checkpointName

Returns:

  • (String)


27529
27530
27531
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27529

def checkpoint_name
  @checkpoint_name
end

#dataset_configHash<String,String>

Customizable dataset settings, used in the model_garden_trainer. Corresponds to the JSON property datasetConfig

Returns:

  • (Hash<String,String>)


27534
27535
27536
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27534

def dataset_config
  @dataset_config
end

#study_specGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpec

Represents specification of a Study. Corresponds to the JSON property studySpec



27539
27540
27541
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27539

def study_spec
  @study_spec
end

#trainer_configHash<String,String>

Customizable trainer settings, used in the model_garden_trainer. Corresponds to the JSON property trainerConfig

Returns:

  • (Hash<String,String>)


27544
27545
27546
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27544

def trainer_config
  @trainer_config
end

#trainer_typeString

Corresponds to the JSON property trainerType

Returns:

  • (String)


27549
27550
27551
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27549

def trainer_type
  @trainer_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27556
27557
27558
27559
27560
27561
27562
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 27556

def update!(**args)
  @checkpoint_name = args[:checkpoint_name] if args.key?(:checkpoint_name)
  @dataset_config = args[:dataset_config] if args.key?(:dataset_config)
  @study_spec = args[:study_spec] if args.key?(:study_spec)
  @trainer_config = args[:trainer_config] if args.key?(:trainer_config)
  @trainer_type = args[:trainer_type] if args.key?(:trainer_type)
end