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


            data = np.load(buffer)

        x = torch.from_numpy(data["x"])
        S = torch.from_numpy(data["Sx"])
        J = data["J"]
        pre_pad = data["pre_pad"]

        M = x.shape[2]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: HyperGAN/HyperGAN
Commit Name: 365c861ccac7588596907b0cff8ddf69cc7a966c
Time: 2020-07-27
Author: mikkel@255bits.com
File Name: hypergan/samplers/grid_sampler.py
Class Name: GridSampler
Method Name: _sample


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