Convert 6d rotation representation to 4d quaternion. Shape: - Input: :Torch:`(N, 4)` - Output: :Torch:`(N, 6)`
(rot6d)
| 110 | return axis_angle_to_rot6d(quaternion_to_axis_angle(quaternion)) |
| 111 | |
| 112 | def rot6d_to_quaternion(rot6d): |
| 113 | """ |
| 114 | Convert 6d rotation representation to 4d quaternion. |
| 115 | Shape: |
| 116 | - Input: :Torch:`(N, 4)` |
| 117 | - Output: :Torch:`(N, 6)` |
| 118 | """ |
| 119 | |
| 120 | return axis_angle_to_quaternion(rot6d_to_axis_angle(rot6d)) |
nothing calls this directly
no test coverage detected