Accelerator¶
Represents an accelerator, i.e., an NPU, used for executing models.
Methods¶
| Name | Description |
|---|---|
__init__ |
Creates an Accelerator object for a specific device number. |
__init__¶
Creates an Accelerator object for a specific device number.
The dev_no parameter represents the device number. For example, on Linux, if an ARIES NPU is attached as /dev/aries0, the device number is 0.
Parameters
dev_no— The device number to associate with the Accelerator.