07d7e13adcae5fd8dcd8e6a2607f78ba3c1f1dd0,se3cnn/basis_kernels.py,,cube_basis_kernels,#Any#Any#Any#Any#,151

Before Change


    basis = radial_window(*_sample_cube(size, order_in, order_out))
    if basis is not None:
        // normalize filter energy (not over axis 0, i.e. different filters are normalized independently)
        basis = basis / np.sqrt(np.sum(basis ** 2, axis=(1, 2, 3, 4, 5), keepdims=True))
    return basis


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

After Change


    basis = radial_window(*_sample_cube(size, order_in, order_out))
    if basis is not None:
        // normalize filter energy (not over axis 0, i.e. different filters are normalized independently)
        basis = basis / basis.view(basis.size(0), -1).norm(dim=1).view(-1, 1, 1, 1, 1, 1)
    return basis


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: mariogeiger/se3cnn
Commit Name: 07d7e13adcae5fd8dcd8e6a2607f78ba3c1f1dd0
Time: 2018-06-20
Author: geiger.mario@gmail.com
File Name: se3cnn/basis_kernels.py
Class Name:
Method Name: cube_basis_kernels


Project Name: dpressel/mead-baseline
Commit Name: 51498b09368a61bfb06849693688df6eb54d4787
Time: 2019-11-14
Author: blester125@gmail.com
File Name: python/eight_mile/pytorch/embeddings.py
Class Name: PositionalLookupTableEmbeddings
Method Name: forward


Project Name: dpressel/mead-baseline
Commit Name: 51498b09368a61bfb06849693688df6eb54d4787
Time: 2019-11-14
Author: blester125@gmail.com
File Name: python/eight_mile/pytorch/embeddings.py
Class Name: PositionalCharConvEmbeddings
Method Name: forward