Class ov::op::v12::ScatterElementsUpdate#

class ScatterElementsUpdate : public ov::op::util::ScatterElementsUpdateBase#

Public Types

enum class Reduction#

Lists the supported reduction types for this version of the operator. See the specification for the description of how reduction works with ScatterElementsUpdate.

Values:

enumerator NONE#
enumerator SUM#
enumerator PROD#
enumerator MIN#
enumerator MAX#
enumerator MEAN#

Public Functions

ScatterElementsUpdate(const Output<Node> &data, const Output<Node> &indices, const Output<Node> &updates, const Output<Node> &axis, const Reduction reduction = Reduction::NONE, const bool use_init_val = true)#

Constructs a ScatterElementsUpdate node.

Parameters:
  • dataInput data

  • indices – Data entry index that will be updated

  • updates – Update values

  • axis – Axis to scatter on

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 has_evaluate() const override#

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