MCPcopy Create free account
hub / github.com/binbinjiang/CVT-SLR / Encoder

Class Encoder

gloss_encoder.py:146–157  ·  view source on GitHub ↗

Base encoder class

Source from the content-addressed store, hash-verified

144
145
146class 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
160class SelfAttentionAdapter(Encoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected