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:
Amethyst Reese
2024-03-02 17:31:19 -08:00
committed by Facebook GitHub Bot
parent f34104cf6e
commit 3da7703c5a
31 changed files with 130 additions and 106 deletions

View File

@@ -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