lyblsgo
2023-11-09 8f41477f1e3f3e284cc4e4059aad08331bc1f53f
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)