![]() |
![]()
| ![]() |
![]()
NAMEPaws::SageMaker::CreateCompilationJob - Arguments for method CreateCompilationJob on Paws::SageMaker DESCRIPTIONThis class represents the parameters used for calling the method CreateCompilationJob on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method CreateCompilationJob. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCompilationJob. SYNOPSISmy $api.sagemaker = Paws->service('SageMaker'); my $CreateCompilationJobResponse = $api . sagemaker->CreateCompilationJob( CompilationJobName => 'MyEntityName', InputConfig => { DataInputConfig => 'MyDataInputConfig', # min: 1, max: 1024 Framework => 'TENSORFLOW' , # values: TENSORFLOW, KERAS, MXNET, ONNX, PYTORCH, XGBOOST, TFLITE, DARKNET, SKLEARN S3Uri => 'MyS3Uri', # max: 1024 FrameworkVersion => 'MyFrameworkVersion', # min: 3, max: 10; OPTIONAL }, OutputConfig => { S3OutputLocation => 'MyS3Uri', # max: 1024 CompilerOptions => 'MyCompilerOptions', # min: 3, max: 1024; OPTIONAL KmsKeyId => 'MyKmsKeyId', # max: 2048; OPTIONAL TargetDevice => 'lambda' , # values: lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, amba_cv25, x86_win32, x86_win64, coreml, jacinto_tda4vm; OPTIONAL TargetPlatform => { Arch => 'X86_64', # values: X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF Os => 'ANDROID', # values: ANDROID, LINUX Accelerator => 'INTEL_GRAPHICS', # values: INTEL_GRAPHICS, MALI, NVIDIA; OPTIONAL }, # OPTIONAL }, RoleArn => 'MyRoleArn', StoppingCondition => { MaxRuntimeInSeconds => 1, # min: 1; OPTIONAL MaxWaitTimeInSeconds => 1, # min: 1; OPTIONAL }, Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256 }, ... ], # OPTIONAL VpcConfig => { SecurityGroupIds => [ 'MyNeoVpcSecurityGroupId', ... # max: 32 ], # min: 1, max: 5 Subnets => [ 'MyNeoVpcSubnetId', ... # max: 32 ], # min: 1, max: 16 }, # OPTIONAL ); # Results: my $CompilationJobArn = $CreateCompilationJobResponse->CompilationJobArn; # Returns a L<Paws::SageMaker::CreateCompilationJobResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateCompilationJob> ATTRIBUTESREQUIRED CompilationJobName => StrA name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account. REQUIRED InputConfig => Paws::SageMaker::InputConfigProvides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained. REQUIRED OutputConfig => Paws::SageMaker::OutputConfigProvides information about the output location for the compiled model and the target device the model runs on. REQUIRED RoleArn => StrThe Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. During model compilation, 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 "iam:PassRole" permission. For more information, see Amazon SageMaker Roles. (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html) REQUIRED StoppingCondition => Paws::SageMaker::StoppingConditionSpecifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs. Tags => ArrayRef[Paws::SageMaker::Tag]An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). VpcConfig => Paws::SageMaker::NeoVpcConfigA VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html). SEE ALSOThis class forms part of Paws, documenting arguments for method CreateCompilationJob 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>
|