f79fd6b1f778f0bd98dc6aec8bd99761f886e80b,librosa/filters.py,,constant_q,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,326

Before Change



        filters.append(win)

    if pad:
        max_len = max(lengths)

        // Use reflection padding, unless otherwise specified
        filters = np.asarray([util.pad_center(filt, max_len, **kwargs)
                              for filt in filters])

    if return_lengths:
        return filters, np.asarray(lengths)
    else:
        return filters

After Change



    max_len = max(lengths)
    if pad_fft:
        max_len = int(2.0**(np.ceil(np.log2(max_len))))

    filters = np.asarray([util.pad_center(filt, max_len, **kwargs)
                          for filt in filters])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: librosa/librosa
Commit Name: f79fd6b1f778f0bd98dc6aec8bd99761f886e80b
Time: 2015-01-18
Author: brian.mcfee@nyu.edu
File Name: librosa/filters.py
Class Name:
Method Name: constant_q


Project Name: SPFlow/SPFlow
Commit Name: 10888b32b710154dee3be93f95b5dfca8f135876
Time: 2019-09-24
Author: steven.lang.mz@gmail.com
File Name: src/spn/experiments/RandomSPNs_layerwise/rat_spn.py
Class Name: RatProduct
Method Name: forward


Project Name: hpclab/rankeval
Commit Name: 8d4fee5d7dc69f82aadb38abc4564dda5cc8580f
Time: 2017-06-14
Author: cristina.i.muntean@gmail.com
File Name: rankeval/core/metrics/dcg.py
Class Name: DCG
Method Name: eval_per_query


Project Name: etal/cnvkit
Commit Name: 1281963269c819f22fed98583526df8946d18b4a
Time: 2016-04-20
Author: eric.talevich@gmail.com
File Name: cnvlib/commands.py
Class Name:
Method Name: do_import_theta