diff --git a/pytorch3d/ops/cubify.py b/pytorch3d/ops/cubify.py index b4b46491..e9200c9b 100644 --- a/pytorch3d/ops/cubify.py +++ b/pytorch3d/ops/cubify.py @@ -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""" diff --git a/pytorch3d/transforms/transform3d.py b/pytorch3d/transforms/transform3d.py index cab6a5ff..4718780f 100644 --- a/pytorch3d/transforms/transform3d.py +++ b/pytorch3d/transforms/transform3d.py @@ -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): """