# helia_aot.optimization.schema.Fp16Overflow

## helia_aot.optimization.schema.Fp16Overflow

`class` · `python`

```python
Fp16Overflow()
```

The input magnitude below which a packed FP16 convolution fed from a model input cannot overflow a lane block.

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

### helia_aot.optimization.schema.Fp16Overflow.operator_id

`attribute` · `python`

```python
operator_id: str = Field(..., description='Plan operator id of the convolution')
```

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

### helia_aot.optimization.schema.Fp16Overflow.entry

`attribute` · `python`

```python
entry: str = Field(..., description='The ns-cmsis-nn entry; its packed FP16 lane sums 32 taps from the bias')
```

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

### helia_aot.optimization.schema.Fp16Overflow.input

`attribute` · `python`

```python
input: str = Field(..., description='The model input tensor the layer reads')
```

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

### helia_aot.optimization.schema.Fp16Overflow.path

`attribute` · `python`

```python
path: list[str] = Field(..., description='Operator types between the model input and the layer, in order')
```

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

### helia_aot.optimization.schema.Fp16Overflow.threshold

`attribute` · `python`

```python
threshold: float = Field(..., ge=0, description="Input magnitude below which no float16 lane block can reach 65504, allowing for float16 rounding: (65504 / (1 + g) - |bias|) / sum|w| over the first 32 taps and 65504 / (1 + g) / sum|w| over each later block, where g = n*u / (1 - n*u) bounds n round-to-nearest operations (the block's taps, plus one for the bias in block 0) at u = 2^-11; the minimum over output channels and blocks. The layer's float16 output can still overflow when its exact value exceeds the float16 range")
```

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

### helia_aot.optimization.schema.Fp16Overflow.channel

`attribute` · `python`

```python
channel: int = Field(..., ge=0, description='Output channel attaining the threshold')
```

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

### helia_aot.optimization.schema.Fp16Overflow.block

`attribute` · `python`

```python
block: int = Field(..., ge=0, description='Block of 32 taps attaining it; block 0 starts from the bias')
```

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

### helia_aot.optimization.schema.Fp16Overflow.weight_sum

`attribute` · `python`

```python
weight_sum: float = Field(..., ge=0, description='sum|w| over that block')
```

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

### helia_aot.optimization.schema.Fp16Overflow.bias

`attribute` · `python`

```python
bias: float = Field(..., ge=0, description='|bias| of that channel when the block is 0, else 0')
```

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