Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-batch support for SE(3) unary operators #512

Merged
merged 14 commits into from
May 4, 2023
8 changes: 8 additions & 0 deletions theseus/labs/lie/functional/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ def __getitem__(self, dtype):
return self.float64_eps


_NON_ZERO = 1.0

_INF = torch.inf

_NEAR_ZERO_D_ONE_MINUS_COSINE_BY_THETA2 = -1 / 12.0

_NEAR_ZERO_D_THETA_MINUS_SINE_BY_THETA3 = -1 / 60.0

_SO2_NORMALIZATION_EPS = EPSDict(float32_eps=1e-12, float64_eps=1e-12)

_SO2_MATRIX_EPS = EPSDict(float32_eps=1e-5, float64_eps=4e-7)
Expand Down
Loading