sugarcase
2024-09-25 8cd8e25f180b57c74f1ae7fd39001e5af4c20f8b
funasr/models/eres2net/fusion.py
@@ -23,7 +23,6 @@
        xa = torch.cat((x, ds_y), dim=1)
        x_att = self.local_att(xa)
        x_att = 1.0 + torch.tanh(x_att)
        xo = torch.mul(x, x_att) + torch.mul(ds_y, 2.0-x_att)
        xo = torch.mul(x, x_att) + torch.mul(ds_y, 2.0 - x_att)
        return xo