mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-16 09:25:58 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D31042748 fbshipit-source-id: fffb983bd6765d306a407587ddf64e68e57e9ecc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bd04ffaf77
commit
526df446c6
@@ -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",
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user