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

Class Config

axlearn/common/bert.py:281–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280 @config_class
281 class Config(BaseClassificationHead.Config):
282 pooler: BertPooler.Config = BertPooler.default_config() # Pooler layer.
283 output: Linear.Config = Linear.default_config() # Output projection layer.
284
285 def __init__(self, cfg: Config, *, parent: Optional[Module]):
286 super().__init__(cfg, parent=parent)

Callers

nothing calls this directly

Calls 1

default_configMethod · 0.45

Tested by

no test coverage detected