mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 22:30:35 +08:00
apply Black 2024 style in fbcode (4/16)
Summary: Formats the covered files with pyfmt. paintitblack Reviewed By: aleivag Differential Revision: D54447727 fbshipit-source-id: 8844b1caa08de94d04ac4df3c768dbf8c865fd2f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f34104cf6e
commit
3da7703c5a
@@ -100,7 +100,7 @@ class TestVertAlign(TestCaseMixin, unittest.TestCase):
|
||||
def init_feats(batch_size: int = 10, num_channels: int = 256, device: str = "cuda"):
|
||||
H, W = [14, 28], [14, 28]
|
||||
feats = []
|
||||
for (h, w) in zip(H, W):
|
||||
for h, w in zip(H, W):
|
||||
feats.append(torch.rand((batch_size, num_channels, h, w), device=device))
|
||||
return feats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user