(self, x)
| 80 | self.feed_forward = Position_wise_Feed_Forward(dim_model, hidden, dropout) |
| 81 | |
| 82 | def forward(self, x): |
| 83 | out = self.attention(x) |
| 84 | out = self.feed_forward(out) |
| 85 | return out |
| 86 | |
| 87 | |
| 88 | class Positional_Encoding(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected