Class ov::op::v6::MVN#

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

Operator performing Mean Variance Normalization.

Public Functions

MVN(const Output<Node> &data, const Output<Node> &reduction_axes, bool normalize_variance, float eps, MVNEpsMode eps_mode)#

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

  • eps_mode – the mode of applying epsilon

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.

virtual bool evaluate(ov::TensorVector &output_values, const ov::TensorVector &input_values) const override#

Evaluates the op on input_values putting results in output_values.

Parameters:
  • output_values – Tensors for the outputs to compute. One for each result

  • input_values – Tensors for the inputs. One for each inputs.

Returns:

true if successful

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.