sub

dragon.vm.torch.sub(
  input,
  value,
  out=None
)[source]

Compute the element-wise subtraction.

\[\text{out} = \text{input} - \text{value} \]
Parameters:
Returns:

dragon.vm.torch.Tensor – The output tensor.