openvino.runtime.opset12.reverse_sequence#

openvino.runtime.opset12.reverse_sequence(input: Node | int | float | ndarray, seq_lengths: Node | int | float | ndarray, batch_axis: int | float | ndarray, seq_axis: int | float | ndarray, name: str | None = None) Node#

Return a node which produces a ReverseSequence operation.

Parameters:
  • input – tensor with input data to reverse

  • seq_lengths – 1D tensor of integers with sequence lengths in the input tensor.

  • batch_axis – index of the batch dimension.

  • seq_axis – index of the sequence dimension.

Returns:

ReverseSequence node