Class ov::frontend::SequenceErase#

class SequenceErase : public ov::op::util::FrameworkNode#

SequenceErase is a helper operation that represents removing one element from a sequence. Emitted by frontends when the sequence input is not yet resolvable to a SequenceMark.

Inputs:

  • input_sequence: The input sequence.

  • position (optional): The position of the element to remove. When omitted, the last element is removed (per the ONNX SequenceErase spec).

Output:

  • The sequence with the element removed.