Skip to content

Commit

Permalink
MAINT: simplify code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Odd Kiva committed Jan 5, 2024
1 parent 707f2e9 commit b82d80b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def rotation(theta):

# Geometric transform input.
R = torch.Tensor(rotation(np.pi / 6))
Rinv = torch.Tensor(R.T).to(DEFAULT_DEVICE)
Rinv = torch.Tensor(R.T)

# Differential geometry block
H = W.Homography()
Expand Down

0 comments on commit b82d80b

Please sign in to comment.