Class ov::frontend::SequenceAt#

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

SequenceAt is a helper operation that represents extracting a single element from a sequence at a given position. It is emitted by frontends when the sequence input is not yet resolvable to a SequenceMark (e.g., comes from an If/Loop output) and is later resolved by SequenceIfReplacer or similar passes.

Inputs:

  • input_sequence: The input sequence (typically the output of an If/Loop whose body produces a SequenceMark/SequenceInsert chain).

  • position: The position (scalar tensor) of the element to extract.

Output:

  • The tensor at the requested position.