Helper from pytorch. :return: Pytorch array of points.
(self)
| 103 | np.vstack((self.points[:3, :], np.ones(self.nbr_points()))))[:3, :] |
| 104 | |
| 105 | def convertToPytorch(self): |
| 106 | """ |
| 107 | Helper from pytorch. |
| 108 | :return: Pytorch array of points. |
| 109 | """ |
| 110 | return torch.from_numpy(self.points) |
| 111 | |
| 112 | @staticmethod |
| 113 | def fromPytorch(cls, pytorchTensor): |
nothing calls this directly
no outgoing calls
no test coverage detected