(self)
| 624 | return self.replace(new_feats) |
| 625 | |
| 626 | def detach(self) -> 'SparseTensor': |
| 627 | new_coords = self.coords.detach() |
| 628 | new_feats = self.feats.detach() |
| 629 | return self.replace(new_feats, new_coords) |
| 630 | |
| 631 | def reshape(self, *shape) -> 'SparseTensor': |
| 632 | new_feats = self.feats.reshape(self.feats.shape[0], *shape) |