Yield a box as a Tensor of shape (4,) at a time.
(self)
| 301 | # https://github.com/pytorch/pytorch/issues/18627 |
| 302 | @torch.jit.unused |
| 303 | def __iter__(self): |
| 304 | """ |
| 305 | Yield a box as a Tensor of shape (4,) at a time. |
| 306 | """ |
| 307 | yield from self.tensor |
| 308 | |
| 309 | |
| 310 | def pairwise_intersection(boxes1: Boxes, boxes2: Boxes) -> torch.Tensor: |
nothing calls this directly
no outgoing calls
no test coverage detected