MCPcopy Create free account
hub / github.com/apple/axlearn / Config

Class Config

axlearn/audio/decoder_asr.py:287–293  ·  view source on GitHub ↗

Configures CTCDecoderModel.

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

default_configMethod · 0.45

Tested by

no test coverage detected