(self, other: Union[torch.Tensor, 'SparseTensor', float])
| 324 | return self.__elemwise__(other, torch.add) |
| 325 | |
| 326 | def __sub__(self, other: Union[torch.Tensor, 'SparseTensor', float]) -> 'SparseTensor': |
| 327 | return self.__elemwise__(other, torch.sub) |
| 328 | |
| 329 | def __rsub__(self, other: Union[torch.Tensor, 'SparseTensor', float]) -> 'SparseTensor': |
| 330 | return self.__elemwise__(other, lambda x, y: torch.sub(y, x)) |
nothing calls this directly
no test coverage detected