mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-21 14:50:36 +08:00
Add annotations to vision/fair/pytorch3d
Reviewed By: shannonzhu Differential Revision: D33970393 fbshipit-source-id: 9b4dfaccfc3793fd37705a923d689cb14c9d26ba
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c2862ff427
commit
e9fb6c27e3
@@ -10,7 +10,7 @@ from typing import Tuple
|
||||
import torch
|
||||
|
||||
|
||||
DEFAULT_ACOS_BOUND = 1.0 - 1e-4
|
||||
DEFAULT_ACOS_BOUND: float = 1.0 - 1e-4
|
||||
|
||||
|
||||
def acos_linear_extrapolation(
|
||||
|
||||
@@ -754,7 +754,7 @@ def _broadcast_bmm(a, b):
|
||||
|
||||
|
||||
@torch.no_grad()
|
||||
def _check_valid_rotation_matrix(R, tol: float = 1e-7):
|
||||
def _check_valid_rotation_matrix(R, tol: float = 1e-7) -> None:
|
||||
"""
|
||||
Determine if R is a valid rotation matrix by checking it satisfies the
|
||||
following conditions:
|
||||
|
||||
Reference in New Issue
Block a user