from local

This commit is contained in:
dohe0342 2023-01-10 19:40:27 +09:00
parent 32b50d169c
commit 1b0117ab15
2 changed files with 3 additions and 2 deletions

View File

@ -168,8 +168,9 @@ class Conformer(EncoderInterface):
- lengths, a tensor of shape (batch_size,) containing the number
of frames in `embeddings` before padding.
"""
#print(self.sigmoid(self.alpha))
#exit()
print(self.sigmoid(self.alpha))
exit()
x = self.encoder_embed(x)
x, pos_emb = self.encoder_pos(x)
x = x.permute(1, 0, 2) # (N, T, C) -> (T, N, C)