Class ov::op::v12::GroupNormalization

class GroupNormalization : public ov::op::Op

GroupNormalization operation over the input tensor.

Public Functions

GroupNormalization(const Output<Node> &data, const Output<Node> &scale, const Output<Node> &bias, int64_t num_groups, double epsilon)
Parameters
  • data – The input tensor to be normalized

  • scale – The tensor containing scale values for each channel

  • bias – The tensor containing bias values for each channel

  • num_groups – The number of groups that the channel dimension will be divided into

  • epsilon – The value that prevents divisions by zero in GroupNormalization formula

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.