ba03571f28ffb877b16643304494c060c0dd21f4,se3cnn/SO3.py,,spherical_harmonics,#,110
Before Change
Js = Js.reshape(-1, *[1] * alpha.dim())
Ms = Ms.reshape(-1, *[1] * alpha.dim())
alpha = alpha.view(1, *alpha.size())
beta = beta.view(1, *beta.size())
Y = sh(Js, Ms, math.pi - beta.cpu().numpy(), alpha.cpu().numpy())
return torch.tensor(Y, dtype=dtype, device=device)
After Change
Ms = np.concatenate([np.arange(-J, J + 1, 1) for J in order], 0)
Js = Js.reshape(-1, *[1] * alpha.dim())
Ms = Ms.reshape(-1, *[1] * alpha.dim())
alpha = alpha.unsqueeze(0)
beta = beta.unsqueeze(0)
Y = sh(Js, Ms, math.pi - beta.cpu().numpy(), alpha.cpu().numpy())
return torch.tensor(Y, dtype=dtype, device=device)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: mariogeiger/se3cnn
Commit Name: ba03571f28ffb877b16643304494c060c0dd21f4
Time: 2019-07-15
Author: geiger.mario@gmail.com
File Name: se3cnn/SO3.py
Class Name:
Method Name: spherical_harmonics
Project Name: keon/seq2seq
Commit Name: 44ff365b7952593a02744ecc4d507e3ee460ef4f
Time: 2017-12-06
Author: kwk236@gmail.com
File Name: model.py
Class Name: Decoder
Method Name: forward
Project Name: ncullen93/torchsample
Commit Name: 978c13b33a85552e1de130e839d7eab74cfccd69
Time: 2017-05-03
Author: ncullen.th@dartmouth.edu
File Name: torchsample/utils.py
Class Name:
Method Name: th_affine2d
Project Name: eriklindernoren/PyTorch-GAN
Commit Name: 54d89c639d8d6d72e5ada833c00762b82ba63348
Time: 2018-05-26
Author: eriklindernoren@gmail.com
File Name: implementations/munit/munit.py
Class Name:
Method Name: sample_images