Skip to content

Commit

Permalink
rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 committed Apr 8, 2024
1 parent 1e62ac2 commit c1a03fe
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ def _strategy(function):
{
"input": torch.from_numpy(rotation.as_quat(canonical=False)),
},
torch.abs(torch.from_numpy(rotation.mean().as_quat(canonical=False))),
torch.unsqueeze(
torch.abs(
torch.from_numpy(
rotation.mean().as_quat(canonical=False),
),
),
dim=0,
),
)


Expand Down

0 comments on commit c1a03fe

Please sign in to comment.