@aws-cdk_aws-sagemaker-alpha.AcceleratorType

class AcceleratorType ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.Alpha.AcceleratorType
Gogithub.com/aws/aws-cdk-go/awscdksagemakeralpha/v2#AcceleratorType
Javasoftware.amazon.awscdk.services.sagemaker.alpha.AcceleratorType
Pythonaws_cdk.aws_sagemaker_alpha.AcceleratorType
TypeScript (source)@aws-cdk/aws-sagemaker-alpha ยป AcceleratorType

Supported Elastic Inference (EI) instance types for SageMaker instance-based production variants.

EI instances provide on-demand GPU computing for inference.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker_alpha from '@aws-cdk/aws-sagemaker-alpha';
const acceleratorType = sagemaker_alpha.AcceleratorType.EIA1_LARGE;

Initializer

new AcceleratorType(acceleratorType: string)

Parameters

  • acceleratorType string

Properties

NameTypeDescription
static EIA1_LARGE๐Ÿ”นAcceleratorTypeml.eia1.large.
static EIA1_MEDIUM๐Ÿ”นAcceleratorTypeml.eia1.medium.
static EIA1_XLARGE๐Ÿ”นAcceleratorTypeml.eia1.xlarge.
static EIA2_LARGE๐Ÿ”นAcceleratorTypeml.eia2.large.
static EIA2_MEDIUM๐Ÿ”นAcceleratorTypeml.eia2.medium.
static EIA2_XLARGE๐Ÿ”นAcceleratorTypeml.eia2.xlarge.

static EIA1_LARGE๐Ÿ”น

Type: AcceleratorType

ml.eia1.large.


static EIA1_MEDIUM๐Ÿ”น

Type: AcceleratorType

ml.eia1.medium.


static EIA1_XLARGE๐Ÿ”น

Type: AcceleratorType

ml.eia1.xlarge.


static EIA2_LARGE๐Ÿ”น

Type: AcceleratorType

ml.eia2.large.


static EIA2_MEDIUM๐Ÿ”น

Type: AcceleratorType

ml.eia2.medium.


static EIA2_XLARGE๐Ÿ”น

Type: AcceleratorType

ml.eia2.xlarge.

Methods

NameDescription
toString()๐Ÿ”นReturn the accelerator type as a string.
static of(acceleratorType)๐Ÿ”นBuilds an AcceleratorType from a given string or token (such as a CfnParameter).

toString()๐Ÿ”น

public toString(): string

Returns

  • string

Return the accelerator type as a string.


static of(acceleratorType)๐Ÿ”น

public static of(acceleratorType: string): AcceleratorType

Parameters

  • acceleratorType string โ€” An accelerator type as string.

Returns

  • AcceleratorType

Builds an AcceleratorType from a given string or token (such as a CfnParameter).