Class ov::op::v1::VariadicSplit#

class VariadicSplit : public ov::op::Op#

VariadicSplit operation splits an input tensor into pieces along some axis. The pieces may have variadic lengths depending on “split_lengths” attribute.

Public Functions

VariadicSplit() = default#

Constructs a variadic split operation.

VariadicSplit(const Output<Node> &data, const Output<Node> &axis, const Output<Node> &split_lengths)#

Constructs a variadic split operation.

outputs. The sum of split_lengths must match data.shape[axis]

Parameters:
  • data – The tensor to be split.

  • axis – The index of an axis in “data” along which to perform the split.

  • split_lengths – A list containing the sizes of each output tensor along the split “axis”. Size of “split_lengths” should be equal to the number of

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.

inline virtual size_t get_default_output_index() const override#

Returns the output of the default output, or throws if there is none.

virtual bool has_evaluate() const override#

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