# helia_aot.transforms.transform

## helia_aot.transforms.transform.AirTransform

`class` · `python`

```python
AirTransform(enabled: bool = True, options: dict[str, Any] | None = None)
```

Base class for all AIR model fusion/transformations.

The converter runs transforms after ``propagate_shapes``, so every tensor
shape is already resolved when ``apply`` is called. Shape propagation does
not run again afterwards; a transform that adds tensors or changes a shape
must leave the model's shapes consistent itself.

Source: `helia_aot/transforms/transform.py:7`

### helia_aot.transforms.transform.AirTransform.NAME

`constant` · `python`

```python
NAME: str
```

Source: `helia_aot/transforms/transform.py:16`

### helia_aot.transforms.transform.AirTransform.enabled

`attribute` · `python`

```python
enabled = enabled
```

Source: `helia_aot/transforms/transform.py:19`

### helia_aot.transforms.transform.AirTransform.options

`attribute` · `python`

```python
options = options or {}
```

Source: `helia_aot/transforms/transform.py:20`

### helia_aot.transforms.transform.AirTransform.name

`attribute` · `python`

```python
name: str
```

Unique name of the transform.

Source: `helia_aot/transforms/transform.py:23`

### helia_aot.transforms.transform.AirTransform.apply

`method` · `python`

```python
apply(model: AirModel) -> AirModel
```

`abstractmethod`

Perform the transform on the given model.

Source: `helia_aot/transforms/transform.py:27`
