API Reference
OperationNamespace.
sub
Subtracts one value from another element-wise.
x (number or np.ndarray or Tensor) – The value from which to subtract, \(x\).
y (number or np.ndarray or Tensor) – The value to subtract, \(y\).
name (str, optional) – The name of the node.
The element-wise value of \(x-y\).
Tensor