5c6c50274c11ecbf9be54052394922fabde80923,kymatio/scattering2d/core/scattering2d.py,,scattering2d,#,4

Before Change


    out_S.extend(out_S_1)
    out_S.extend(out_S_2)

    out_S = concatenate(out_S)
    return out_S


__all__ = ["scattering2d"]

After Change


    if vectorize:
        sorted_keys = sorted(S.keys(), key=lambda x: (len(x),) + x)

        S = [S[key] for key in sorted_keys]

        S = concatenate(S)

    return S

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: kymatio/kymatio
Commit Name: 5c6c50274c11ecbf9be54052394922fabde80923
Time: 2020-02-18
Author: edouard.oyallon@lip6.fr
File Name: kymatio/scattering2d/core/scattering2d.py
Class Name:
Method Name: scattering2d


Project Name: librosa/librosa
Commit Name: d907c99207adc05ace52025c1eb231f014d0eecb
Time: 2013-02-11
Author: brm2132@columbia.edu
File Name: librosa/__init__.py
Class Name:
Method Name: load


Project Name: kymatio/kymatio
Commit Name: 82c7dbed39a2aa1e1f980cda78cc31a823dbe349
Time: 2020-02-18
Author: janden@flatironinstitute.org
File Name: kymatio/scattering2d/core/scattering2d.py
Class Name:
Method Name: scattering2d