f66d3c5ed7b7fa96424fd0d8214594042d9ba3ff,se3cnn/SO3.py,,irr_repr,#,81

Before Change


        beta = beta.item()
    if torch.is_tensor(gamma):
        gamma = gamma.item()
    return torch.tensor(wigner_D_matrix(order, alpha, beta, gamma), dtype=torch.get_default_dtype() if dtype is None else dtype)



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

After Change


            if dtype is None:
                dtype = x.dtype
            if device is None:
                device = x.device
    if dtype is None:
        dtype = torch.get_default_dtype()
    return torch.tensor(wigner_D_matrix(order, *abc), dtype=dtype, device=device)



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

Frequency: 3

Non-data size: 5

Instances


Project Name: mariogeiger/se3cnn
Commit Name: f66d3c5ed7b7fa96424fd0d8214594042d9ba3ff
Time: 2019-07-09
Author: geiger.mario@gmail.com
File Name: se3cnn/SO3.py
Class Name:
Method Name: irr_repr


Project Name: mariogeiger/se3cnn
Commit Name: f66d3c5ed7b7fa96424fd0d8214594042d9ba3ff
Time: 2019-07-09
Author: geiger.mario@gmail.com
File Name: se3cnn/SO3.py
Class Name:
Method Name: spherical_harmonics


Project Name: dmlc/dgl
Commit Name: cf8a3fb30547d6e980ecd8182f64a51df8e55c62
Time: 2021-02-10
Author: expye@outlook.com
File Name: python/dgl/backend/pytorch/tensor.py
Class Name:
Method Name: pack_padded_tensor