Class ov::frontend::SequenceInsert#
-
class SequenceInsert : public ov::op::util::FrameworkNode#
SequenceInsert is a helper operation that represents inserting a tensor into a sequence. This operation is used during frontend conversion to mark sequence insert operations that will be later transformed by SequenceConcatReplacer.
Inputs:
input_sequence: The input sequence (can be SequenceMark or another SequenceInsert)
tensor: The tensor to insert into the sequence
position (optional): The position at which to insert the tensor
The updated sequence with the tensor inserted
Public Functions
-
SequenceInsert(const Output<Node> &input_sequence, const Output<Node> &tensor)#
Constructs SequenceInsert with sequence and tensor inputs.
- Parameters:
input_sequence – The input sequence
tensor – The tensor to insert
-
SequenceInsert(const Output<Node> &input_sequence, const Output<Node> &tensor, const Output<Node> &position)#
Constructs SequenceInsert with sequence, tensor, and position inputs.
- Parameters:
input_sequence – The input sequence
tensor – The tensor to insert
position – The position at which to insert
-
inline bool has_position() const#
Check if position input is provided.