Follow Figure 1 (left) for connections.
(self, x)
| 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 | |
| 148 | class Decoder(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected