mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-20 04:45:59 +08:00
suppress errors in vision/fair/pytorch3d
Differential Revision: D31496551 fbshipit-source-id: 705fd88f319875db3f7938a2946c48a51ea225f5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6dfa326922
commit
6d36c1e2b0
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user