26e4305dab0eec33fc8d54f717f12ca603e17ca6,audio.py,,_db_to_amp,#Any#,130

Before Change




def _db_to_amp(x):
    return np.maximum(np.power(10.0, x * 0.05) - 0.01, 0.0)


def _normalize(S):

After Change




def _db_to_amp(x):
    return np.power(10.0, x * 0.05)


def _normalize(S):
    return np.clip((S - hparams.min_level_db) / -hparams.min_level_db, 0, 1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: r9y9/wavenet_vocoder
Commit Name: 26e4305dab0eec33fc8d54f717f12ca603e17ca6
Time: 2018-02-25
Author: zryuichi@gmail.com
File Name: audio.py
Class Name:
Method Name: _db_to_amp


Project Name: r9y9/deepvoice3_pytorch
Commit Name: c6af9b877a757d7a5f92eac4bffd83bfb24ada08
Time: 2018-02-25
Author: zryuichi@gmail.com
File Name: audio.py
Class Name:
Method Name: _db_to_amp


Project Name: MorvanZhou/Reinforcement-learning-with-tensorflow
Commit Name: 5e76b6981d0b48def00d4fa97caec24accf402fd
Time: 2017-08-16
Author: morvanzhou@gmail.com
File Name: contents/5.2_Prioritized_Replay_DQN/RL_brain.py
Class Name: Memory
Method Name: sample


Project Name: MorvanZhou/tutorials
Commit Name: f6ba8830aa061dc9be6f8e352b8e074e99e0494c
Time: 2017-03-20
Author: morvanzhou@hotmail.com
File Name: Reinforcement_learning_TUT/5.2_Prioritized_Replay_DQN/RL_brain.py
Class Name: Memory
Method Name: sample


Project Name: automl/SMAC3
Commit Name: 640a3574b411e4c91add7acd3fa21595d8f63c28
Time: 2016-03-07
Author: lindauer@informatik.uni-freiburg.de
File Name: smac/epm/rfr_imputator.py
Class Name: RFRImputator
Method Name: impute


Project Name: matplotlib/matplotlib
Commit Name: dc9e7ecf44862dde665255d944ee77d0aff9c81e
Time: 2016-11-13
Author: nok.raven@gmail.com
File Name: lib/matplotlib/scale.py
Class Name: InvertedLogTransform
Method Name: transform_non_affine