torch.Tensor.Tensor.subtract_
In-place subtraction (alias for sub_).
Parameters
otherTensor | number- Tensor or scalar to subtract
Returns
this– this tensor after modificationIn-place subtraction (alias for sub_).
otherTensor | numberthis– this tensor after modification