Add annotations to vision/fair/pytorch3d

Reviewed By: shannonzhu

Differential Revision: D33970393

fbshipit-source-id: 9b4dfaccfc3793fd37705a923d689cb14c9d26ba
This commit is contained in:
Pyre Bot Jr
2022-02-03 01:45:00 -08:00
committed by Facebook GitHub Bot
parent c2862ff427
commit e9fb6c27e3
21 changed files with 65 additions and 49 deletions

View File

@@ -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(

View File

@@ -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: