ReverseSequence

Description

Sorts the batch sequence based on the specified length.

Input

Two inputs:

x: tensor of type float16 or float, of rank >= 2.

sequence_lens: tensor of type int64, specifying the length of each batch.

Output

One output:

y: tensor of the identical data type and shape as input x.

Property

batch_axis: int. Specifies the batch axis. Defaults to 1.

time_axis: int. Specifies the time axis. Defaults to 1.

ONNX Opset Support

Opset v10/v11/v12/v13/v14/v15/v16/v17/v18