Class ov::op::v0::MVN#

class MVN : public ov::op::Op#

Operator performing Mean Variance Normalization.

Public Functions

MVN(const Output<Node> &data, bool across_channels = true, bool normalize_variance = true, double eps = 1e-9)#

Constructs an MVN operation.

Parameters:
  • dataInput tensor with data

  • normalize_variance – flag that denotes whether to perform variance normalization.

  • across_channels – flag that denotes if mean values are shared across channels.

  • eps – the number to be added to the variance to avoid division by zero when normalizing the value

MVN(const Output<Node> &data, AxisSet reduction_axes, bool normalize_variance = true, double eps = 1e-9)#

Constructs an MVN operation.

Parameters:
  • dataInput tensor with data

  • reduction_axes – A list of axes, along which to reduce.

  • normalize_variance – flag that denotes whether to perform variance normalization.

  • eps – the number to be added to the variance to avoid division by zero when normalizing the value

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.