4cbe889c27f5a0c272c54b4e1065ef3525c2fc09,s2cnn/nn/soft/so3_integrate.py,,setup_so3_integrate,#Any#Any#,32

Before Change



    w = S3.quadrature_weights(b) // (2b) [beta]

    w = torch.FloatTensor(w)

    if cuda_device is not None:
        w = w.cuda(cuda_device)

    return w

After Change


def setup_so3_integrate(b, like):
    import lie_learn.spaces.S3 as S3

    return like.new_tensor(S3.quadrature_weights(b)) // (2b) [beta]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: jonas-koehler/s2cnn
Commit Name: 4cbe889c27f5a0c272c54b4e1065ef3525c2fc09
Time: 2018-05-02
Author: geiger.mario@gmail.com
File Name: s2cnn/nn/soft/so3_integrate.py
Class Name:
Method Name: setup_so3_integrate


Project Name: jonas-koehler/s2cnn
Commit Name: 4cbe889c27f5a0c272c54b4e1065ef3525c2fc09
Time: 2018-05-02
Author: geiger.mario@gmail.com
File Name: s2cnn/nn/soft/gpu/so3_fft.py
Class Name:
Method Name: _setup_wigner


Project Name: jonas-koehler/s2cnn
Commit Name: 4cbe889c27f5a0c272c54b4e1065ef3525c2fc09
Time: 2018-05-02
Author: geiger.mario@gmail.com
File Name: s2cnn/nn/soft/gpu/s2_fft.py
Class Name:
Method Name: _setup_wigner