openvino.runtime.opset5.reverse_sequence

openvino.runtime.opset5.reverse_sequence(input: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], seq_lengths: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], batch_axis: Union[int, float, numpy.ndarray], seq_axis: Union[int, float, numpy.ndarray], name: Optional[str] = None) openvino._pyopenvino.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