| 307 | data/io-layer, to the middle of the model. |
| 308 | """ |
| 309 | class Config: |
| 310 | input_channels: int = 1 |
| 311 | output_channels: int = 1 |
| 312 | encode_channels: int = 32 |
| 313 | decode_channel_multiplier: int = 1 |
| 314 | latent_dim: int = None |
| 315 | kernel_size: int = 7 |
| 316 | bias: bool = True |
| 317 | channel_ratios: Tuple[int, ...] = (2, 4, 8, 16) |
| 318 | strides: Tuple[int, ...] = (3, 4, 5, 5) |
| 319 | mode: Literal['encoder', 'decoder'] = 'encoder' |
| 320 | |
| 321 | def __init__(self, c: Config): |
| 322 | super().__init__() |
nothing calls this directly
no outgoing calls
no test coverage detected