torch_subtract {torch} | R Documentation |
Subtract
Description
Subtract
Usage
torch_subtract(self, other, alpha = 1L)
Arguments
self |
(Tensor) the input tensor. |
other |
(Tensor or Scalar) the tensor or scalar to subtract from |
alpha |
the scalar multiplier for other |
subtract(input, other, *, alpha=1, out=None) -> Tensor
Alias for torch_sub()
.
[Package torch version 0.13.0 Index]