ae2d6eb40138e9fe09d65469c4b1c4a0fc4027c6,se3cnn/SO3.py,,spherical_harmonics_xyz,#Any#Any#Any#Any#,276

Before Change


    :param xyz: tensor of shape [..., 3]
    :return: tensor of shape [m, ...]
    
    if not isinstance(order, list):
        order = [order]

    with torch_default_dtype(torch.float64):

After Change


    except TypeError:
        order = [order]

    if dtype is None and torch.is_tensor(xyz):
        dtype = xyz.dtype
    if dtype is None:
        dtype = torch.get_default_dtype()

    if device is None and torch.is_tensor(xyz):
        device = xyz.device

    if not torch.is_tensor(xyz):
        xyz = torch.tensor(xyz, dtype=torch.float64)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: mariogeiger/se3cnn
Commit Name: ae2d6eb40138e9fe09d65469c4b1c4a0fc4027c6
Time: 2019-09-06
Author: benmiller1315@gmail.com
File Name: se3cnn/SO3.py
Class Name:
Method Name: spherical_harmonics_xyz


Project Name: geomstats/geomstats
Commit Name: b7efa1f037f8adc94a28fc421dd7934b63b3043e
Time: 2020-04-22
Author: 62605255+pchauchat@users.noreply.github.com
File Name: geomstats/_backend/tensorflow/__init__.py
Class Name:
Method Name: assignment_by_sum


Project Name: geomstats/geomstats
Commit Name: b7efa1f037f8adc94a28fc421dd7934b63b3043e
Time: 2020-04-22
Author: 62605255+pchauchat@users.noreply.github.com
File Name: geomstats/_backend/tensorflow/__init__.py
Class Name:
Method Name: assignment