Base encoder class
| 144 | |
| 145 | |
| 146 | class Encoder(nn.Module): |
| 147 | """ |
| 148 | Base encoder class |
| 149 | """ |
| 150 | @property |
| 151 | def output_size(self): |
| 152 | """ |
| 153 | Return the output size |
| 154 | |
| 155 | :return: |
| 156 | """ |
| 157 | return self._output_size |
| 158 | |
| 159 | |
| 160 | class SelfAttentionAdapter(Encoder): |
nothing calls this directly
no outgoing calls
no test coverage detected