suppress errors in vision/fair/pytorch3d

Differential Revision: D31042748

fbshipit-source-id: fffb983bd6765d306a407587ddf64e68e57e9ecc
This commit is contained in:
Pyre Bot Jr
2021-09-18 12:03:39 -07:00
committed by Facebook GitHub Bot
parent bd04ffaf77
commit 526df446c6
7 changed files with 0 additions and 20 deletions

View File

@@ -96,7 +96,6 @@ class TensorProperties(nn.Module):
def __init__(
self,
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float32]`.
dtype: torch.dtype = torch.float32,
device: Device = "cpu",
**kwargs,
@@ -278,7 +277,6 @@ class TensorProperties(nn.Module):
def format_tensor(
input,
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float32]`.
dtype: torch.dtype = torch.float32,
device: Device = "cpu",
) -> torch.Tensor:
@@ -309,7 +307,6 @@ def format_tensor(
def convert_to_tensors_and_broadcast(
*args,
# pyre-fixme[9]: dtype has type `dtype`; used as `Type[torch.float32]`.
dtype: torch.dtype = torch.float32,
device: Device = "cpu",
):