# helia_aot.optimization.schema.KnobChoice

## helia_aot.optimization.schema.KnobChoice

`class` · `python`

```python
KnobChoice()
```

The resolved value of one knob for one operator.

``resolved_by`` agrees with ``requested``: ``explicit`` means a value was
asked for and used as given (``value`` equals ``requested``); ``auto_table``
and ``auto_heuristic`` mean ``requested`` is ``auto``.

Source: `helia_aot/optimization/schema.py:251`

### helia_aot.optimization.schema.KnobChoice.model_config

`attribute` · `python`

```python
model_config = ConfigDict(json_schema_extra=_closed(_provenance_is_consistent))
```

Source: `helia_aot/optimization/schema.py:259`

### helia_aot.optimization.schema.KnobChoice.value

`attribute` · `python`

```python
value: str = Field(..., description='The value used')
```

Source: `helia_aot/optimization/schema.py:261`

### helia_aot.optimization.schema.KnobChoice.requested

`attribute` · `python`

```python
requested: str = Field(..., description='The value asked for, possibly auto')
```

Source: `helia_aot/optimization/schema.py:262`

### helia_aot.optimization.schema.KnobChoice.resolved_by

`attribute` · `python`

```python
resolved_by: Annotated[str, _Members('explicit', 'auto_table', 'auto_heuristic', 'plan')] = Field(..., description='explicit when a value was asked for; auto_table when auto chose it from the goal; auto_heuristic and plan are reserved')
```

Source: `helia_aot/optimization/schema.py:263`

### helia_aot.optimization.schema.KnobChoice.source

`attribute` · `python`

```python
source: KnobSource
```

Source: `helia_aot/optimization/schema.py:270`

### helia_aot.optimization.schema.KnobChoice.approximate

`attribute` · `python`

```python
approximate: bool = Field(..., description="Whether the value changes numerics relative to the knob's default where it applies")
```

Source: `helia_aot/optimization/schema.py:271`
