MCPcopy Create free account
hub / github.com/TEA-Lab/TwoByTwo / forward

Method forward

src/shape_assembly/models/train/transformer.py:43–46  ·  view source on GitHub ↗
(self, x, mask)

Source from the content-addressed store, hash-verified

41 self.norm = LayerNorm(layer.size)
42
43 def forward(self, x, mask):
44 for layer in self.layers:
45 x = layer(x, mask)
46 return self.norm(x)
47
48class Decoder(pl.LightningModule):
49 def __init__(self, layer, N):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected