AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateOptimizationJob operation. Creates a job that optimizes a model for inference performance. To create the job, you provide the location of a source model, and you provide the settings for the optimization techniques that you want the job to apply. When the job completes successfully, SageMaker uploads the new optimized model to the output destination that you specify.
For more information about how to use this action, and about the supported optimization techniques, see Optimize model inference with Amazon SageMaker.
Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z
public class CreateOptimizationJobRequest : AmazonSageMakerRequest IAmazonWebServiceRequest
The CreateOptimizationJobRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateOptimizationJobRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
DeploymentInstanceType | Amazon.SageMaker.OptimizationJobDeploymentInstanceType |
Gets and sets the property DeploymentInstanceType. The type of instance that hosts the optimized model that you create with the optimization job. |
![]() |
ModelSource | Amazon.SageMaker.Model.OptimizationJobModelSource |
Gets and sets the property ModelSource. The location of the source model to optimize with an optimization job. |
![]() |
OptimizationConfigs | System.Collections.Generic.List<Amazon.SageMaker.Model.OptimizationConfig> |
Gets and sets the property OptimizationConfigs. Settings for each of the optimization techniques that the job applies. |
![]() |
OptimizationEnvironment | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property OptimizationEnvironment. The environment variables to set in the model container. |
![]() |
OptimizationJobName | System.String |
Gets and sets the property OptimizationJobName. A custom name for the new optimization job. |
![]() |
OutputConfig | Amazon.SageMaker.Model.OptimizationJobOutputConfig |
Gets and sets the property OutputConfig. Details for where to store the optimized model that you create with the optimization job. |
![]() |
RoleArn | System.String |
Gets and sets the property RoleArn. The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. During model optimization, Amazon SageMaker needs your permission to:
You grant permissions for all of these tasks to an IAM role. To pass this role to
Amazon SageMaker, the caller of this API must have the |
![]() |
StoppingCondition | Amazon.SageMaker.Model.StoppingCondition |
Gets and sets the property StoppingCondition. |
![]() |
Tags | System.Collections.Generic.List<Amazon.SageMaker.Model.Tag> |
Gets and sets the property Tags. A list of key-value pairs associated with the optimization job. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide. |
![]() |
VpcConfig | Amazon.SageMaker.Model.OptimizationVpcConfig |
Gets and sets the property VpcConfig. A VPC in Amazon VPC that your optimized model has access to. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5