from local

This commit is contained in:
dohe0342 2023-02-02 10:58:15 +09:00
parent 48f8cde221
commit 89aa9fdc2d
2 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ class Conformer(EncoderInterface):
x = self.sigmoid(self.alpha[-1]) * layer_outputs[17]
x += self.sigmoid(self.alpha[-2]) * layer_outputs[14]
x += self.sigmoid(self.alpha[-3]) * layer_outputs[11]
x += self.sigmoid(self.alpha[-4]) * layer_outputs[8]
#x += self.sigmoid(self.alpha[2]) * layer_outputs[5]
x = self.layer_norm(x/3)
#x = self.sigmoid(self.alpha[-1]) * layer_outputs[17]