Class ov::pass::ConvertTensorIteratorToRNNSequence#

class ConvertTensorIteratorToRNNSequence : public ov::pass::MatcherPass#

Finds all TensorIterator layers, detects the pattern Squeeze->RNNCell->Unsqueeze in the TensorIterator body, converts this pattern to RNNSequence layer and replaces them TensorIterator.