(self, other: Union[torch.Tensor, 'VarLenTensor', float])
| 218 | return self.__elemwise__(other, torch.add) |
| 219 | |
| 220 | def __sub__(self, other: Union[torch.Tensor, 'VarLenTensor', float]) -> 'VarLenTensor': |
| 221 | return self.__elemwise__(other, torch.sub) |
| 222 | |
| 223 | def __rsub__(self, other: Union[torch.Tensor, 'VarLenTensor', float]) -> 'VarLenTensor': |
| 224 | return self.__elemwise__(other, lambda x, y: torch.sub(y, x)) |
nothing calls this directly
no test coverage detected