Subtract
Source:R/gen-namespace-docs.R
, R/gen-namespace-examples.R
, R/gen-namespace.R
torch_subtract.Rd
Subtract
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()
.