zhaomingwork
2023-11-08 2e36e738ca39afc8d02f3d11013bd12f937cc874
funasr/export/models/predictor/cif.py
@@ -288,7 +288,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)