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

Method forward

tests/unit/compile/test_tp_compile.py:53–56  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

51 self.head = torch.nn.Linear(HIDDEN_DIM, HIDDEN_DIM, bias=False)
52
53 def forward(self, x):
54 for layer in self.layers:
55 x = layer(x)
56 return self.head(x)
57
58
59class TiedEmbeddingMLPModel(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected