1527c8c1e4b5cfa59703d7fd6c91d89310db9a15,kymatio/scattering2d/tests/test_torch_scattering2d.py,TestScatteringTorch2D,test_Scattering2D,#TestScatteringTorch2D#Any#,392

Before Change


        // (which is how it"s now computed)

        o0, o1, o2 = self.reorder_coefficients_from_interleaved(J, L=8)
        reorder = torch.from_numpy(np.concatenate((o0, o1, o2)))
        S = S[..., reorder, :, :]

        pre_pad = data["pre_pad"]

After Change



        test_data_dir = os.path.dirname(__file__)
        with open(os.path.join(test_data_dir, "test_data_2d.npz"), "rb") as f:
            buffer = io.BytesIO(f.read())
            data = np.load(buffer)

        x = torch.from_numpy(data["x"])
        S = torch.from_numpy(data["Sx"])
        J = data["J"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: kymatio/kymatio
Commit Name: 1527c8c1e4b5cfa59703d7fd6c91d89310db9a15
Time: 2020-02-18
Author: edouard.oyallon@ens.fr
File Name: kymatio/scattering2d/tests/test_torch_scattering2d.py
Class Name: TestScatteringTorch2D
Method Name: test_Scattering2D


Project Name: kymatio/kymatio
Commit Name: 1527c8c1e4b5cfa59703d7fd6c91d89310db9a15
Time: 2020-02-18
Author: edouard.oyallon@ens.fr
File Name: kymatio/scattering2d/tests/test_scattering2d.py
Class Name:
Method Name: test_Scattering2D


Project Name: ncullen93/torchsample
Commit Name: d000bae3a03681b11818e98c29a64a145e0ff1ec
Time: 2017-04-20
Author: ncullen@modv-vlan533.0018.apn.wlan.med.upenn.edu
File Name: torchsample/modules/example.py
Class Name:
Method Name: