Class ov::op::v15::SliceScatter#

class SliceScatter : public ov::op::Op#

SliceScatter operation.

Public Functions

SliceScatter(const Output<Node> &data, const Output<Node> &updates, const Output<Node> &start, const Output<Node> &stop, const Output<Node> &step)#

Constructs SliceScatter operation (default axes).

Parameters:
  • data – The tensor to be updated.

  • updatesTensor containing update values.

  • start – 1D tensor with start indices of the update slice.

  • stop – 1D tensor with end indices of the update slice.

  • step – 1D tensor specifies the increment to use in slicing along corresponding axes.

SliceScatter(const Output<Node> &data, const Output<Node> &updates, const Output<Node> &start, const Output<Node> &stop, const Output<Node> &step, const Output<Node> &axes)#

Constructs SliceScatter operation.

Parameters:
  • data – The tensor to be updated.

  • updatesTensor containing update values.

  • start – 1D tensor with start indices of the update slice.

  • stop – 1D tensor with end indices of the update slice.

  • step – 1D tensor specifies the increment to use in slicing along corresponding axes.

  • axes – 1D tensor indicating which dimensions the values in the start and stop apply to.

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.