Configures CTCDecoderModel.
| 285 | |
| 286 | @config_class |
| 287 | class Config(BaseASRDecoderModel.Config): |
| 288 | """Configures CTCDecoderModel.""" |
| 289 | |
| 290 | # Layer to map hidden state to vocab logits. |
| 291 | lm_head: BaseLayer.Config = Linear.default_config() |
| 292 | # Blank token ID. |
| 293 | blank_id: int = 0 |
| 294 | |
| 295 | def __init__(self, cfg: Config, *, parent: Optional[Module]): |
| 296 | super().__init__(cfg, parent=parent) |
nothing calls this directly
no test coverage detected