(self, dictionary)
| 14 | """Base class for decoders.""" |
| 15 | |
| 16 | def __init__(self, dictionary): |
| 17 | super().__init__() |
| 18 | self.dictionary = dictionary |
| 19 | self.onnx_trace = False |
| 20 | self.adaptive_softmax = None |
| 21 | |
| 22 | |
| 23 | def forward(self, prev_output_tokens, encoder_out=None, **kwargs): |
nothing calls this directly
no outgoing calls
no test coverage detected