(self, inputs, memory, src_pad_msk, cache, step)
| 92 | self.decoders[i].feed_forward.w_2.bias.data = weights.w['model'][prefix + '.feed_forward.w_2.bias'] |
| 93 | |
| 94 | def forward(self, inputs, memory, src_pad_msk, cache, step): |
| 95 | output = inputs |
| 96 | for i in range(self.layer_num): |
| 97 | output, _, _ = self.decoders[i](output, memory, src_pad_msk, None, cache[i], step) |
| 98 | return output |
nothing calls this directly
no outgoing calls
no test coverage detected