游雁
2024-10-31 d2fb3a8fade2c8c877bf7c60a142a6ae5a262b87
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