70ad49fd4c4efa4132949c308204f9e059785ec8,nara_wpe/wpe.py,,get_power_inverse,#,1075
Before Change
pass
else:
raise ValueError(psd_context)
eps = 1e-10 * np.max(power)
inverse_power = 1 / np.maximum(power, eps)
return inverse_power
def get_Psi(Y, t, taps):
After Change
pass
else:
raise ValueError(psd_context)
return _stable_positive_inverse(power)
def get_Psi(Y, t, taps):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: fgnt/nara_wpe
Commit Name: 70ad49fd4c4efa4132949c308204f9e059785ec8
Time: 2020-03-24
Author: cbj@mail.uni-paderborn.de
File Name: nara_wpe/wpe.py
Class Name:
Method Name: get_power_inverse
Project Name: librosa/librosa
Commit Name: 14056d4584a7ba3ac9446814e1d7f4613080b618
Time: 2013-03-22
Author: brm2132@columbia.edu
File Name: librosa/beat.py
Class Name:
Method Name: onset_strength
Project Name: tensorly/tensorly
Commit Name: f937bbf05fed3d436cd07d159b451d448fe6eba2
Time: 2021-02-06
Author: ameyer@ucla.edu
File Name: tensorly/backend/mxnet_backend.py
Class Name: MxnetBackend
Method Name: clip