(self)
| 300 | return new_cache |
| 301 | |
| 302 | def __neg__(self) -> 'SparseTensor': |
| 303 | return self.replace(-self.feats) |
| 304 | |
| 305 | def __elemwise__(self, other: Union[torch.Tensor, 'SparseTensor'], op: callable) -> 'SparseTensor': |
| 306 | if isinstance(other, torch.Tensor): |