mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 07:10:34 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D30479084 fbshipit-source-id: 6b22dd0afe4dfb1be6249e43a56657519f11dcf1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1ea2b7272a
commit
fadec970c9
@@ -142,6 +142,7 @@ class Transform3d:
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float32]`.
|
||||
dtype: torch.dtype = torch.float32,
|
||||
device: Device = "cpu",
|
||||
matrix: Optional[torch.Tensor] = None,
|
||||
@@ -461,6 +462,7 @@ class Translate(Transform3d):
|
||||
x,
|
||||
y=None,
|
||||
z=None,
|
||||
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float32]`.
|
||||
dtype: torch.dtype = torch.float32,
|
||||
device: Optional[Device] = None,
|
||||
) -> None:
|
||||
@@ -502,6 +504,7 @@ class Scale(Transform3d):
|
||||
x,
|
||||
y=None,
|
||||
z=None,
|
||||
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float32]`.
|
||||
dtype: torch.dtype = torch.float32,
|
||||
device: Optional[Device] = None,
|
||||
) -> None:
|
||||
@@ -547,6 +550,7 @@ class Rotate(Transform3d):
|
||||
def __init__(
|
||||
self,
|
||||
R: torch.Tensor,
|
||||
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float32]`.
|
||||
dtype: torch.dtype = torch.float32,
|
||||
device: Optional[Device] = None,
|
||||
orthogonal_tol: float = 1e-5,
|
||||
@@ -588,6 +592,7 @@ class RotateAxisAngle(Rotate):
|
||||
angle,
|
||||
axis: str = "X",
|
||||
degrees: bool = True,
|
||||
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float64]`.
|
||||
dtype: torch.dtype = torch.float64,
|
||||
device: Optional[Device] = None,
|
||||
) -> None:
|
||||
|
||||
Reference in New Issue
Block a user