mobileone_block
PythonMBConv block w/ expansion and SE
mobileone_block( output_filters: int, kernel_size: int | tuple[int, int] = 3, strides: int | tuple[int, int] = 1, padding: int | tuple[int, int] = 0, groups: int = 1, dilation: int = 1, inference_mode: bool = False, se_ratio: int = 0, num_conv_branches: int = 1, activation: str = 'relu6', name: str | None = None,) -> keras.LayerMBConv block w/ expansion and SE
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
output_filters | int | Required | Number of output filter channels |
kernel_size | int | tuple[int, int] | 3 | Kernel size. Defaults to 3. |
strides | int | tuple[int, int] | 1 | Stride length. Defaults to 1. |
se_ratio | float | 0 | SE ratio. Defaults to 8. |
name | str | None | None | Block name. Defaults to None. |
Returns
| Type | Description |
|---|---|
keras.Layer | keras.Layer: Functional layer |