from local

This commit is contained in:
dohe0342 2022-12-26 14:26:21 +09:00
parent a1ef4531b3
commit 6234335768
2 changed files with 2 additions and 0 deletions

View File

@ -159,7 +159,9 @@ class ResidualAdapterModule(nn.Module):
residual = x
print(residual.size())
x = self.adapter_layers[layer_id](x)
print(x.size())
x = residual + x
print(x.size())
x = x.transpose(0, 1)
return x