Paws::SageMaker::ProductionVariant
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::SageMaker::ProductionVariant object:
$service_obj->Method(Att1 => { AcceleratorType => $value, ..., VariantName => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::ProductionVariant object:
$result = $service_obj->Method(...); $result->Att1->AcceleratorType
Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.
The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). For more information, see Using Elastic Inference in Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
Number of instances to launch initially.
Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the C<VariantWeight> to the sum of all C<VariantWeight> values across all ProductionVariants. If unspecified, it defaults to 1.0.
The ML compute instance type.
The name of the model that you want to host. This is the name that you specified when creating the model.
The name of the production variant.
This class forms part of Paws, describing an object used in Paws::SageMaker
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.