82c7dbed39a2aa1e1f980cda78cc31a823dbe349,kymatio/scattering2d/core/scattering2d.py,,scattering2d,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,4

Before Change



            out_S_2.append(S_2_r)

    out_S = []
    out_S.extend(out_S_0)
    out_S.extend(out_S_1)
    out_S.extend(out_S_2)

    if vectorize:
        out_S = concatenate(out_S)

    return out_S

After Change


    out_S.extend(out_S_2)

    if vectorize:
        out_S = concatenate([x["coef"] for x in out_S])

    return out_S

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


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


Project Name: dnouri/skorch
Commit Name: ef1838cd5c59ae07e5179138469b3c6dab2e5f81
Time: 2017-11-16
Author: marian.tietz@ottogroup.com
File Name: examples/word_language_model/net.py
Class Name: Net
Method Name: score


Project Name: matplotlib/matplotlib
Commit Name: 16e3df83d4f233c9b76db9f9b51a08a217f3828c
Time: 2019-01-27
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/bezier.py
Class Name:
Method Name: concatenate_paths