(self, dictionary)
| 27 | """Base class for encoders.""" |
| 28 | |
| 29 | def __init__(self, dictionary): |
| 30 | super().__init__() |
| 31 | self.dictionary = dictionary |
| 32 | |
| 33 | def forward(self, src_tokens, src_lengths=None, **kwargs): |
| 34 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected