# Accelerator

```python
class Accelerator
```

Represents an accelerator, i.e., an NPU, used for executing models.

## Methods

| Name | Description |
| --- | --- |
| [`__init__`](<#init>) | Creates an [Accelerator](<https://docs.mobilint.com/runtime/kr/v1.2/api/python/Accelerator/index.md>) object for a specific device number. |

### \_\_init\_\_

```python
def __init__(self, dev_no: int = 0)
```

Creates an [Accelerator](<https://docs.mobilint.com/runtime/kr/v1.2/api/python/Accelerator/index.md>) 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](<https://docs.mobilint.com/runtime/kr/v1.2/api/python/Accelerator/index.md>).
