openvino.runtime.opset2.negative#

openvino.runtime.opset2.negative(node: Node | int | float | ndarray, name: str | None = None) Node#

Return node which applies f(x) = -x to the input node elementwise.

Parameters:
  • node – Input node for negative operation.

  • name – The optional name for output new node.

Returns:

The node performing element-wise multiplicaion by -1.