openvino.runtime.opset4.add

openvino.runtime.opset4.add(left_node: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], right_node: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], auto_broadcast: str = 'NUMPY', name: Optional[str] = None) openvino._pyopenvino.Node

Return node which applies f(A,B) = A+B to the input nodes element-wise.

Parameters
  • left_node – The first input node for add operation.

  • right_node – The second input node for add operation.

  • auto_broadcast – The type of broadcasting specifies rules used for auto-broadcasting of input tensors. Defaults to “NUMPY”.

  • name – The optional name for output new node.

Returns

The node performing element-wise addition.