071fb5fb20683946a33f40d28af466f8e9ffc1bd,liegroups/torch/so2.py,SO2,left_jacobian,#,41

Before Change


            jac_large_angle = phi.__class__(
                len(large_angle_inds), cls.dim, cls.dim)
            jac_large_angle[:, 0, 0] = A
            jac_large_angle[:, 0, 1] = -B
            jac_large_angle[:, 1, 0] = B
            jac_large_angle[:, 1, 1] = A
            jac[large_angle_inds] = jac_large_angle

After Change



        if len(large_angle_inds) > 0:
            angle = phi[large_angle_inds]
            s = angle.sin()
            c = angle.cos()

            A = (s / angle).unsqueeze_(dim=1).unsqueeze_(
                dim=2).expand_as(jac[large_angle_inds]) * \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: utiasSTARS/liegroups
Commit Name: 071fb5fb20683946a33f40d28af466f8e9ffc1bd
Time: 2017-10-17
Author: clement.leopold@gmail.com
File Name: liegroups/torch/so2.py
Class Name: SO2
Method Name: left_jacobian


Project Name: pytorch/tutorials
Commit Name: ce58d5904c04c4be10561447e41a153f573a3f93
Time: 2020-12-03
Author: qasdfgtyuiop@gmail.com
File Name: beginner_source/examples_nn/dynamic_net.py
Class Name:
Method Name:


Project Name: utiasSTARS/liegroups
Commit Name: 1115322dc2fb896b254b71fff79a8453f89cd963
Time: 2017-07-31
Author: clement.leopold@gmail.com
File Name: liegroups/so3.py
Class Name: SO3
Method Name: log