You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same code works fine without the torch.from_numpy(...).
Expected behavior
Ideally it would work, or the docs should represent the fact that different types are expected from other functions that support PyTorch tensors (like log_tensor or log_line_segments). Currently all of these are annotated as npt.ArrayLike.
Desktop (please complete the following information):
Describe the bug
It seems like
log_rigid3
does not support tensor objects.To Reproduce
Same code works fine without the
torch.from_numpy(...)
.Expected behavior
Ideally it would work, or the docs should represent the fact that different types are expected from other functions that support PyTorch tensors (like
log_tensor
orlog_line_segments
). Currently all of these are annotated asnpt.ArrayLike
.Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: