suppress errors in vision/fair/pytorch3d

Differential Revision: D31496551

fbshipit-source-id: 705fd88f319875db3f7938a2946c48a51ea225f5
This commit is contained in:
Pyre Bot Jr
2021-10-07 21:56:41 -07:00
committed by Facebook GitHub Bot
parent 6dfa326922
commit 6d36c1e2b0
10 changed files with 3 additions and 12 deletions

View File

@@ -134,7 +134,6 @@ def sample_farthest_points_naive(
# Initialize closest distances to inf, shape: (P,)
# This will be updated at each iteration to track the closest distance of the
# remaining points to any of the selected points
# pyre-fixme[16]: `torch.Tensor` has no attribute new_full.
closest_dists = points.new_full(
(lengths[n],), float("inf"), dtype=torch.float32
)