AcceleratorType

class aws_cdk.aws_stepfunctions_tasks.AcceleratorType(instance_type_identifier)

Bases: object

The size of the Elastic Inference (EI) instance to use for the production variant.

EI instances provide on-demand GPU computing for inference

See:

https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks

accelerator_type = stepfunctions_tasks.AcceleratorType("instanceTypeIdentifier")
Parameters:

instance_type_identifier (str) –

Methods

to_string()

Return the accelerator type as a dotted string.

Return type:

str

Static Methods

classmethod of(accelerator_class, instance_size)

AcceleratorType.

This class takes a combination of a class and size.

Parameters:
Return type:

AcceleratorType