Class: Aws::SageMaker::Types::OptimizationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::OptimizationConfig
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb
Overview
OptimizationConfig is a union - when making an API calls you must set exactly one of the members.
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.
Direct Known Subclasses
ModelCompilationConfig, ModelQuantizationConfig, ModelShardingConfig, Unknown
Defined Under Namespace
Classes: ModelCompilationConfig, ModelQuantizationConfig, ModelShardingConfig, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#model_compilation_config ⇒ Types::ModelCompilationConfig
Settings for the model compilation technique that's applied by a model optimization job.
-
#model_quantization_config ⇒ Types::ModelQuantizationConfig
Settings for the model quantization technique that's applied by a model optimization job.
-
#model_sharding_config ⇒ Types::ModelShardingConfig
Settings for the model sharding technique that's applied by a model optimization job.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#model_compilation_config ⇒ Types::ModelCompilationConfig
Settings for the model compilation technique that's applied by a model optimization job.
36873 36874 36875 36876 36877 36878 36879 36880 36881 36882 36883 36884 36885 36886 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 36873 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_config ⇒ Types::ModelQuantizationConfig
Settings for the model quantization technique that's applied by a model optimization job.
36873 36874 36875 36876 36877 36878 36879 36880 36881 36882 36883 36884 36885 36886 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 36873 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_config ⇒ Types::ModelShardingConfig
Settings for the model sharding technique that's applied by a model optimization job.
36873 36874 36875 36876 36877 36878 36879 36880 36881 36882 36883 36884 36885 36886 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 36873 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
36873 36874 36875 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 36873 def unknown @unknown end |