mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 22:30:35 +08:00
lint fixes
Summary: Ran the linter. TODO: need to update the linter as per D21353065. Reviewed By: bottler Differential Revision: D21362270 fbshipit-source-id: ad0e781de0a29f565ad25c43bc94a19b1828c020
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0c595dcf5b
commit
0eca74fa5f
@@ -261,7 +261,9 @@ class TestBlending(unittest.TestCase):
|
||||
# of the image with surrounding padded values.
|
||||
N, S, K = 1, 8, 2
|
||||
device = torch.device("cuda")
|
||||
pix_to_face = -torch.ones((N, S, S, K), dtype=torch.int64, device=device)
|
||||
pix_to_face = torch.full(
|
||||
(N, S, S, K), fill_value=-1, dtype=torch.int64, device=device
|
||||
)
|
||||
h = int(S / 2)
|
||||
pix_to_face_full = torch.randint(
|
||||
size=(N, h, h, K), low=0, high=100, device=device
|
||||
|
||||
Reference in New Issue
Block a user