suppress errors in vision/fair/pytorch3d

Differential Revision: D31737477

fbshipit-source-id: 2590548c1b7a65c277ccddd405276c244fde0961
This commit is contained in:
Pyre Bot Jr 2021-10-18 12:17:11 -07:00 committed by Facebook GitHub Bot
parent 3953de47ee
commit 7c111f7379
2 changed files with 0 additions and 4 deletions

View File

@ -48,8 +48,6 @@ def ravel_index(idx, dims) -> torch.Tensor:
return linind
# pyre-fixme[56]: Decorator `torch.no_grad(...)` could not be called, because its
# type `no_grad` is not callable.
@torch.no_grad()
def cubify(voxels, thresh, device=None, align: str = "topleft") -> Meshes:
r"""

View File

@ -753,8 +753,6 @@ def _broadcast_bmm(a, b):
return a.bmm(b)
# pyre-fixme[56]: Decorator `torch.no_grad(...)` could not be called, because
# its type `no_grad` is not callable.
@torch.no_grad()
def _check_valid_rotation_matrix(R, tol: float = 1e-7):
"""