Yabin Li
2023-08-20 adcc48f6d2ad4c19cfd5586b9566137c401357ed
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)