(self, other: Union[torch.Tensor, 'SparseTensor', float])
| 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)) |
| 331 | |
| 332 | def __mul__(self, other: Union[torch.Tensor, 'SparseTensor', float]) -> 'SparseTensor': |
| 333 | return self.__elemwise__(other, torch.mul) |
nothing calls this directly
no test coverage detected