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

Method default_config

axlearn/common/state_builder_test.py:454–458  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

452
453 @classmethod
454 def default_config(cls):
455 cfg = super().default_config()
456 cfg.layer = Linear.default_config().set(input_dim=2, output_dim=3)
457 cfg.num_layers = 2
458 return cfg
459
460
461class DummyModel(BaseModel): # pylint: disable=abstract-method

Calls 1

setMethod · 0.45

Tested by

no test coverage detected