Skip to content

ECS  >  Structures  >  InferenceAccelerator

InferenceAccelerator

Structure Class

InferenceAccelerator dataclass

Bases: _SerdeShape

Details on an Elastic Inference accelerator. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.

Attributes

device_name instance-attribute
device_name: str

The Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement.

device_type instance-attribute
device_type: str

The Elastic Inference accelerator type to use.