mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-21 14:50:36 +08:00
spelling and flake
Summary: mostly recent lintish things Reviewed By: nikhilaravi Differential Revision: D21089003 fbshipit-source-id: 028733c1d875268f1879e4481da475b7100ba0b6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9397cd872d
commit
6207c359b1
@@ -1020,7 +1020,8 @@ class Pointclouds(object):
|
||||
box[..., 0, :] gives the min x, y & z.
|
||||
box[..., 1, :] gives the max x, y & z.
|
||||
Returns:
|
||||
idx: BoolTensor of length sum(P_i) indicating whether the packed points are within the input box.
|
||||
idx: BoolTensor of length sum(P_i) indicating whether the packed points are
|
||||
within the input box.
|
||||
"""
|
||||
if box.dim() > 3 or box.dim() < 2:
|
||||
raise ValueError("Input box must be of shape (2, 3) or (N, 2, 3).")
|
||||
|
||||
Reference in New Issue
Block a user