mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D31737477 fbshipit-source-id: 2590548c1b7a65c277ccddd405276c244fde0961
This commit is contained in:
parent
3953de47ee
commit
7c111f7379
@ -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"""
|
||||
|
@ -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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user