42516d99363ea28ffdb9166c339a03dc08f0cfa3,scatwave/scattering.py,Scattering,__init__,#Scattering#Any#Any#Any#Any#Any#,27

Before Change


        self.M = M
        self.N = N
        self.pre_pad = pre_pad
        self.size_batch = torch.Size((1, 1, M, N))
        self.jit = jit

        self.fft = Fft()
        self.modulus = Modulus(jit=jit)

After Change


        self.modulus = Modulus(jit=jit)
        self.periodize = Periodize(jit=jit)

        self._prepare_padding_size([1, 1, M, N])

        self.padding_module = pad_function(2**J)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: edouardoyallon/pyscatwave
Commit Name: 42516d99363ea28ffdb9166c339a03dc08f0cfa3
Time: 2017-03-28
Author: zagoruyko2@gmail.com
File Name: scatwave/scattering.py
Class Name: Scattering
Method Name: __init__


Project Name: pytorch/pytorch
Commit Name: a347c747df8302acc0007a26f23ecf3355a5bef9
Time: 2021-01-25
Author: fritz.obermeyer@gmail.com
File Name: torch/distributions/logistic_normal.py
Class Name: LogisticNormal
Method Name: __init__


Project Name: kymatio/kymatio
Commit Name: cf49678b0b8dcfc550f25e02c76d82d358d9f812
Time: 2018-11-21
Author: zagoruyko2@gmail.com
File Name: scatwave/scattering.py
Class Name: Scattering
Method Name: __init__