游雁
2023-09-01 a4d0724b27c8a1bc1df1f659c8c763813d23ff8c
funasr/models/predictor/cif.py
@@ -499,7 +499,7 @@
        fire_place = integrate >= threshold
        integrate = torch.where(fire_place,
                                integrate - torch.ones([batch_size], device=alphas.device),
                                integrate - torch.ones([batch_size], device=alphas.device)*threshold,
                                integrate)
    fires = torch.stack(list_fires, 1)