openvino.runtime.opset3.subtract#
- openvino.runtime.opset3.subtract(left_node: Node | int | float | ndarray, right_node: Node | int | float | ndarray, auto_broadcast: str = 'NUMPY', name: str | None = None) Node #
Return node which applies f(x) = A-B to the input nodes element-wise.
- Parameters:
left_node – The node providing data for left hand side of operator.
right_node – The node providing data for right hand side of operator.
auto_broadcast – The type of broadcasting that specifies mapping of input tensor axes to output shape axes. Range of values: numpy, explicit.
name – The optional name for output node.
- Returns:
The new output node performing subtraction operation on both tensors element-wise.