Usage
torch_subtract(self, other, alpha = 1L)
Arguments
- self
(Tensor) the input tensor.
- other
(Tensor or Scalar) the tensor or scalar to subtract from input
- alpha
the scalar multiplier for other
subtract(input, other, *, alpha=1, out=None) -> Tensor
Alias for torch_sub()
.