ngraph.opset6.reverse_sequence

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