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

Method forward

networks/SATRN.py:142–145  ·  view source on GitHub ↗

Follow Figure 1 (left) for connections.

(self, x)

Source from the content-addressed store, hash-verified

140 self.size = size
141
142 def forward(self, x):
143 "Follow Figure 1 (left) for connections."
144 x = self.sublayer[0](x, lambda x: self.self_attn(x, x, x))
145 return self.sublayer[1](x, self.feed_forward)
146
147
148class Decoder(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected