MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / __init__

Method __init__

tests/lightning/test_simple.py:27–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25class BoringModel(LightningModule):
26
27 def __init__(self):
28 super().__init__()
29 self.layer = torch.nn.Linear(32, 2)
30
31 def forward(self, x):
32 return self.layer(x)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected