openvino.runtime.opset5.round

openvino.runtime.opset5.round(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], mode: str = 'half_to_even', name: Optional[str] = None) openvino._pyopenvino.Node

Apply Round operation on each element of input tensor.

Parameters
  • data – The tensor providing input data.

  • mode – Rule to round halfway cases. If set to ‘half_to_even’ then halfs round to the nearest even integer or rounding in such a way that the result heads away from zero if mode attribute is ‘half_away_from_zero`.

  • name – An optional name of the output node.

Returns

The new node with Round operation applied on each element.