mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
suppress errors in fbcode/vision
- batch 2
Differential Revision: D29301375 fbshipit-source-id: a061a2fb7c7f2fd2038e31b28a5bdf0bfe1676f6
This commit is contained in:
parent
8f4ddb5a1f
commit
639f05a190
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user