4c9a80db1829d3ca243ebf6e55bcee9fb6cfb20d,nt/speech_enhancement/beamformer.py,,block_online_beamforming,#Any#Any#Any#,775

Before Change


        [noise_psd_init[None], np.zeros_like(noise_psd)], axis=0
    )
    for idx in range(target_psd.shape[0]):
        updated_noise_psd[idx+1] = noise_decay_factor * updated_noise_psd[idx] +\
                                   (1-noise_decay_factor) * noise_psd[idx]
        updated_target_psd[idx+1] = target_decay_factor * updated_target_psd[idx] +\
                                    (1-target_decay_factor) * target_psd[idx]
    unbiased_noise_psd = updated_noise_psd[1:] / (
        1-noise_decay_factor**np.reshape(

After Change


    unbiased_noise_psd = lfilter([noise_decay_factor],
                                 [1., -noise_decay_factor],
                                 updated_noise_psd, axis=0)[1:]
    unbiased_targed_psd = lfilter([target_decay_factor],
                                  [1., -target_decay_factor],
                                  updated_target_psd, axis=0)[1:]
    unbiased_noise_psd = unbiased_noise_psd / (
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: fgnt/pb_bss
Commit Name: 4c9a80db1829d3ca243ebf6e55bcee9fb6cfb20d
Time: 2018-11-05
Author: heitkaemper@nt.upb.de
File Name: nt/speech_enhancement/beamformer.py
Class Name:
Method Name: block_online_beamforming


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: d58e42f874ddcdacd2c1b342e042328080586080
Time: 2020-11-11
Author: M.N.Tran@ibm.com
File Name: art/defences/preprocessor/audio_filter.py
Class Name: AudioFilter
Method Name: __call__


Project Name: arnomoonens/yarll
Commit Name: 6a11161224a21777426519bf9dc824871891b6a5
Time: 2016-11-27
Author: x-006@hotmail.com
File Name: utils.py
Class Name:
Method Name: discount_rewards