Class: Aws::SageMaker::Types::OptimizationConfig

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure, Aws::Structure::Union
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Note:

OptimizationConfig is a union - when making an API calls you must set exactly one of the members.

Note:

OptimizationConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OptimizationConfig corresponding to the set member.

Settings for an optimization technique that you apply with a model optimization job.

Defined Under Namespace

Classes: ModelCompilationConfig, ModelQuantizationConfig, ModelShardingConfig, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#model_compilation_configTypes::ModelCompilationConfig

Settings for the model compilation technique that’s applied by a model optimization job.



37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
# File 'lib/aws-sdk-sagemaker/types.rb', line 37197

class OptimizationConfig < Struct.new(
  :model_quantization_config,
  :model_compilation_config,
  :model_sharding_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ModelQuantizationConfig < OptimizationConfig; end
  class ModelCompilationConfig < OptimizationConfig; end
  class ModelShardingConfig < OptimizationConfig; end
  class Unknown < OptimizationConfig; end
end

#model_quantization_configTypes::ModelQuantizationConfig

Settings for the model quantization technique that’s applied by a model optimization job.



37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
# File 'lib/aws-sdk-sagemaker/types.rb', line 37197

class OptimizationConfig < Struct.new(
  :model_quantization_config,
  :model_compilation_config,
  :model_sharding_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ModelQuantizationConfig < OptimizationConfig; end
  class ModelCompilationConfig < OptimizationConfig; end
  class ModelShardingConfig < OptimizationConfig; end
  class Unknown < OptimizationConfig; end
end

#model_sharding_configTypes::ModelShardingConfig

Settings for the model sharding technique that’s applied by a model optimization job.



37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
# File 'lib/aws-sdk-sagemaker/types.rb', line 37197

class OptimizationConfig < Struct.new(
  :model_quantization_config,
  :model_compilation_config,
  :model_sharding_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ModelQuantizationConfig < OptimizationConfig; end
  class ModelCompilationConfig < OptimizationConfig; end
  class ModelShardingConfig < OptimizationConfig; end
  class Unknown < OptimizationConfig; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



37197
37198
37199
# File 'lib/aws-sdk-sagemaker/types.rb', line 37197

def unknown
  @unknown
end