Clone the Boxes. Returns: Boxes
(self)
| 158 | self.tensor = tensor |
| 159 | |
| 160 | def clone(self) -> "Boxes": |
| 161 | """ |
| 162 | Clone the Boxes. |
| 163 | |
| 164 | Returns: |
| 165 | Boxes |
| 166 | """ |
| 167 | return Boxes(self.tensor.clone()) |
| 168 | |
| 169 | # https://github.com/pytorch/pytorch/issues/47405 |
| 170 | @torch.jit.unused |