From 639f05a190dd4728282731a7b225cd14829b90e2 Mon Sep 17 00:00:00 2001 From: Pyre Bot Jr <> Date: Tue, 22 Jun 2021 11:59:18 -0700 Subject: [PATCH] suppress errors in `fbcode/vision` - batch 2 Differential Revision: D29301375 fbshipit-source-id: a061a2fb7c7f2fd2038e31b28a5bdf0bfe1676f6 --- pytorch3d/renderer/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch3d/renderer/utils.py b/pytorch3d/renderer/utils.py index fb48f67f..2e85c264 100644 --- a/pytorch3d/renderer/utils.py +++ b/pytorch3d/renderer/utils.py @@ -116,7 +116,7 @@ class TensorProperties(nn.Module): for k, v in kwargs.items(): if v is None or isinstance(v, (str, bool)): setattr(self, k, v) - elif isinstance(v, BROADCAST_TYPES): # pyre-fixme[6] + elif isinstance(v, BROADCAST_TYPES): args_to_broadcast[k] = v else: msg = "Arg %s with type %r is not broadcastable"