# helia_aot.interpreters.base

## helia_aot.interpreters.base.AirInterpreter

`class` · `python`

```python
AirInterpreter(model_path: Path)
```

Unified API for TinyML interpreters.

Source: `helia_aot/interpreters/base.py:9`

### helia_aot.interpreters.base.AirInterpreter.set_input

`method` · `python`

```python
set_input(tensor: AirTensor | np.ndarray, *, key: str | int | None = None) -> None
```

`abstractmethod`

Feed one input tensor by name/ID or index.

Source: `helia_aot/interpreters/base.py:16`

### helia_aot.interpreters.base.AirInterpreter.invoke

`method` · `python`

```python
invoke() -> None
```

`abstractmethod`

Run inference.

Source: `helia_aot/interpreters/base.py:21`

### helia_aot.interpreters.base.AirInterpreter.get_output

`method` · `python`

```python
get_output(*, key: str | int | None = None, wrap: bool = False) -> np.ndarray | AirTensor
```

`abstractmethod`

Fetch one output by name/ID or index.

Source: `helia_aot/interpreters/base.py:26`
