fix device error Summary: When using sample_farthest_points with lengths, it throws an error because of the device mismatch between lengths and torch.rand(lengths.size()) on GPU. Reviewed By: bottler Differential Revision: D82378997 fbshipit-source-id: 8e929256177d543d1dd1249e8488f70e03e4101f
fix device error
Summary: When using sample_farthest_points with lengths, it throws an error because of the device mismatch between lengths and torch.rand(lengths.size()) on GPU.
sample_farthest_points
lengths
torch.rand(lengths.size())
Reviewed By: bottler
Differential Revision: D82378997
fbshipit-source-id: 8e929256177d543d1dd1249e8488f70e03e4101f
该内容不合规,请修改。
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
该内容不合规,请修改。