MCPcopy Create free account
hub / github.com/chibohe/text_recognition_toolbox / forward

Method forward

networks/SATRN.py:155–158  ·  view source on GitHub ↗
(self, x, memory)

Source from the content-addressed store, hash-verified

153 self.norm = LayerNorm(layer.size)
154
155 def forward(self, x, memory):
156 for layer in self.layers:
157 x = layer(x, memory)
158 return self.norm(x)
159
160
161class DecoderLayer(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected