MCPcopy Create free account
hub / github.com/NineAbyss/ZeroG / forward

Method forward

code/utils.py:290–297  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

288 self.norm = nn.LayerNorm(output_dim)
289
290 def forward(self, x):
291 x = F.gelu(self.layer1(x))
292 x = F.gelu(self.layer2(x))
293 x = F.gelu(self.layer3(x))
294 x = F.gelu(self.layer4(x))
295 x = self.layer5(x)
296 x = self.norm(x)
297 return x
298
299class OneShotDataset(Dataset):
300 def __init__(self, original_dataset):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected