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

Method default_config

axlearn/audio/decoder_asr.py:1144–1148  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1142
1143 @classmethod
1144 def default_config(cls) -> Config:
1145 cfg = super().default_config()
1146 transformer_cfg = cfg.decoder.transformer.layer
1147 transformer_cfg.cross_attention = TransformerAttentionLayer.default_config()
1148 return cfg
1149
1150 def __init__(self, cfg: Config, *, parent: Module):
1151 super().__init__(cfg, parent=parent)

Callers 15

ConfigClass · 0.45
ConfigClass · 0.45
ConfigClass · 0.45
ConfigClass · 0.45
_model_configFunction · 0.45
_ctc_decoder_configFunction · 0.45
_rnnt_decoder_configFunction · 0.45
_las_decoder_configFunction · 0.45
test_transformerMethod · 0.45

Calls

no outgoing calls

Tested by 15

_model_configFunction · 0.36
_ctc_decoder_configFunction · 0.36
_rnnt_decoder_configFunction · 0.36
_las_decoder_configFunction · 0.36
test_transformerMethod · 0.36
test_post_downsampleMethod · 0.36
test_asr_encoderMethod · 0.36
test_instantiateMethod · 0.36