f66d3c5ed7b7fa96424fd0d8214594042d9ba3ff,se3cnn/SO3.py,,irr_repr,#,81
Before Change
from lie_learn.representations.SO3.wigner_d import wigner_D_matrix
if torch.is_tensor(alpha):
alpha = alpha.item()
if torch.is_tensor(beta):
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
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)
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: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: df863b1326a1d174c64a4ca9fac997c4ceb56583
Time: 2018-12-23
Author: yanzhaoyi@outlook.com
File Name: models/shift_net/InnerShiftTriple.py
Class Name: InnerShiftTriple
Method Name: forward
Project Name: rtqichen/torchdiffeq
Commit Name: 7391aec984c1e9e0899d51e6b0538483c37ec8fb
Time: 2020-07-27
Author: 33688385+patrick-kidger@users.noreply.github.com
File Name: torchdiffeq/_impl/adjoint.py
Class Name:
Method Name: odeint_adjoint