Return a new batched Transform3d representing the batch elements from self and all the given other transforms all batched together. Args: *others: Any number of Transform3d objects Returns: A new Transform3d.
(self, *others: "Transform3d")
| 330 | return tinv |
| 331 | |
| 332 | def stack(self, *others: "Transform3d") -> "Transform3d": |
| 333 | """ |
| 334 | Return a new batched Transform3d representing the batch elements from |
| 335 | self and all the given other transforms all batched together. |
| 336 | |
| 337 | Args: |
| 338 | *others: Any number of Transform3d objects |
| 339 | |
| 340 | Returns: |
| 341 | A new Transform3d. |
| 342 | """ |
| 343 | transforms = [self] + list(others) |
| 344 | matrix = torch.cat([t.get_matrix() for t in transforms], dim=0) |
| 345 | out = Transform3d(dtype=self.dtype, device=self.device) |
| 346 | out._matrix = matrix |
| 347 | return out |
| 348 | |
| 349 | def transform_points(self, points, eps: Optional[float] = None) -> torch.Tensor: |
| 350 | """ |
no test coverage detected