Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

334 B
Raw Blame

Selecting one box of an unbatched Boxes or Boxes3D with an integer, including a negative one, or a 0-d integer tensor returns a one-box container of shape (1, 4, 2) or (1, 8, 3), a view of the stored tensor, and Boxes keeps that box's validity. It used to raise a ValueError, because tensor indexing dropped the box axis.