Commit 7c111f73 authored by Pyre Bot Jr's avatar Pyre Bot Jr Committed by Facebook GitHub Bot
Browse files

suppress errors in `vision/fair/pytorch3d`

Differential Revision: D31737477

fbshipit-source-id: 2590548c1b7a65c277ccddd405276c244fde0961
parent 3953de47
...@@ -48,8 +48,6 @@ def ravel_index(idx, dims) -> torch.Tensor: ...@@ -48,8 +48,6 @@ def ravel_index(idx, dims) -> torch.Tensor:
return linind return linind
# pyre-fixme[56]: Decorator `torch.no_grad(...)` could not be called, because its
# type `no_grad` is not callable.
@torch.no_grad() @torch.no_grad()
def cubify(voxels, thresh, device=None, align: str = "topleft") -> Meshes: def cubify(voxels, thresh, device=None, align: str = "topleft") -> Meshes:
r""" r"""
......
...@@ -753,8 +753,6 @@ def _broadcast_bmm(a, b): ...@@ -753,8 +753,6 @@ def _broadcast_bmm(a, b):
return a.bmm(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() @torch.no_grad()
def _check_valid_rotation_matrix(R, tol: float = 1e-7): def _check_valid_rotation_matrix(R, tol: float = 1e-7):
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment