![]() |
![]()
| ![]() |
![]()
NAMEPaws::SageMaker::OutputConfig USAGEThis class represents one of two things: Arguments in a call to a service 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::OutputConfig object: $service_obj->Method(Att1 => { CompilerOptions => $value, ..., TargetPlatform => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::OutputConfig object: $result = $service_obj->Method(...); $result->Att1->CompilerOptions DESCRIPTIONContains information about the output location for the compiled model and the target device that the model runs on. "TargetDevice" and "TargetPlatform" are mutually exclusive, so you need to choose one between the two to specify your target device or platform. If you cannot find your device you want to use from the "TargetDevice" list, use "TargetPlatform" to describe the platform of your edge device and "CompilerOptions" if there are specific settings that are required or recommended to use for particular TargetPlatform. ATTRIBUTESCompilerOptions => StrSpecifies additional parameters for compiler options in JSON format. The compiler options are "TargetPlatform" specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specify "CompilerOptions."
For example, "{"dtype" : "float32"}".
For example, "{'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver': '10.1'}"
For example: "{"precision_mode": "FP32", "output_names": ["output:0"]}" KmsKeyId => StrThe Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker uses to encrypt your output models with Amazon S3 server-side encryption after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) in the Amazon Simple Storage Service Developer Guide. The KmsKeyId can be any of the following formats:
REQUIRED S3OutputLocation => StrIdentifies the S3 bucket where you want Amazon SageMaker to store the model artifacts. For example, "s3://bucket-name/key-name-prefix". TargetDevice => StrIdentifies the target device or the machine learning instance that you want to run your model on after the compilation has completed. Alternatively, you can specify OS, architecture, and accelerator using TargetPlatform fields. It can be used instead of "TargetPlatform". TargetPlatform => Paws::SageMaker::TargetPlatformContains information about a target platform that you want your model to run on, such as OS, architecture, and accelerators. It is an alternative of "TargetDevice". The following examples show how to configure the "TargetPlatform" and "CompilerOptions" JSON strings for popular target platforms:
SEE ALSOThis class forms part of Paws, describing an object used in Paws::SageMaker BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|