openvino.runtime.opset7.round#

openvino.runtime.opset7.round(data: Node | int | float | ndarray, mode: str = 'half_to_even', name: str | None = None) 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.