# helia_edge.layers.mbconv_params

Typed MBConv block parameters; importable without Keras.

## helia_edge.layers.mbconv_params.MBConvParams

`class` · `python`

```python
MBConvParams()
```

MBConv parameters

Source: `helia_edge/layers/mbconv_params.py:6`

### helia_edge.layers.mbconv_params.MBConvParams.model_config

`attribute` · `python`

```python
model_config = ConfigDict(frozen=True, extra='forbid')
```

Source: `helia_edge/layers/mbconv_params.py:21`

### helia_edge.layers.mbconv_params.MBConvParams.filters

`attribute` · `python`

```python
filters: int = Field(..., description='# filters')
```

Number of filters

Source: `helia_edge/layers/mbconv_params.py:23`

### helia_edge.layers.mbconv_params.MBConvParams.depth

`attribute` · `python`

```python
depth: int = Field(default=1, description='Layer depth')
```

Layer depth

Source: `helia_edge/layers/mbconv_params.py:24`

### helia_edge.layers.mbconv_params.MBConvParams.ex_ratio

`attribute` · `python`

```python
ex_ratio: float = Field(default=1, description='Expansion ratio')
```

Expansion ratio

Source: `helia_edge/layers/mbconv_params.py:25`

### helia_edge.layers.mbconv_params.MBConvParams.kernel_size

`attribute` · `python`

```python
kernel_size: int | tuple[int, int] = Field(default=3, description='Kernel size')
```

Kernel size

Source: `helia_edge/layers/mbconv_params.py:26`

### helia_edge.layers.mbconv_params.MBConvParams.strides

`attribute` · `python`

```python
strides: int | tuple[int, int] = Field(default=1, description='Stride size')
```

Stride size

Source: `helia_edge/layers/mbconv_params.py:27`

### helia_edge.layers.mbconv_params.MBConvParams.se_ratio

`attribute` · `python`

```python
se_ratio: float = Field(default=8, description='Squeeze Excite ratio')
```

Squeeze Excite ratio

Source: `helia_edge/layers/mbconv_params.py:28`

### helia_edge.layers.mbconv_params.MBConvParams.droprate

`attribute` · `python`

```python
droprate: float = Field(default=0, description='Drop rate')
```

Drop rate

Source: `helia_edge/layers/mbconv_params.py:29`

### helia_edge.layers.mbconv_params.MBConvParams.bn_momentum

`attribute` · `python`

```python
bn_momentum: float = Field(default=0.9, description='Batch normalization momentum')
```

Batch normalization momentum

Source: `helia_edge/layers/mbconv_params.py:30`

### helia_edge.layers.mbconv_params.MBConvParams.activation

`attribute` · `python`

```python
activation: str = Field(default='relu6', description='Activation function')
```

Activation function

Source: `helia_edge/layers/mbconv_params.py:31`
