Update LM.py
This commit is contained in:
parent
36b2ecb8a2
commit
e57fe43915
|
@ -15,6 +15,6 @@ class LM(BasicModule):
|
|||
|
||||
def forward(self, x):
|
||||
x = x[0]
|
||||
out = self.lm(x)[-1]
|
||||
out = self.lm(x)[0][:,0]
|
||||
out = self.fc(out)
|
||||
return out
|
||||
|
|
Loading…
Reference in New Issue