from local

This commit is contained in:
dohe0342 2023-01-09 20:35:28 +09:00
parent 751a6fc23a
commit 1707909fb6
2 changed files with 1 additions and 0 deletions

View File

@ -504,6 +504,7 @@ class Tempformer(EncoderInterface):
):
layer_outputs = []
pos_emb = x[-1]
for enum, encoder in enumerate(self.encoder_layers):
x_ = x[enum].permute(1, 0, 2)
encoder_output = encoder(x_)