openvino.runtime.opset6.negative

openvino.runtime.opset6.negative(node: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) openvino._pyopenvino.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.