x(Variable): Input Variable which contains the padded sequences with
x(Variable): A Tensor which contains padding data, and its shape size can not be less than 2.
equal length.
Supported data types: float32, float64, int32, int64.
length(Variable): The Variable that specifies the actual ength of
length(Variable): A 1D Tensor that stores the actual length of each sample, and the Tensor
sequences after unpadding.
has the same shape with the 0th dimension of the X . Supported data types: int64.
name(str|None): A name for this layer(optional). If set None, the layer
name(str|None): The default value is None. Normally there is no need for user to set this property.
will be named automatically.
For more information, please refer to :ref:`api_guide_Name`
Returns:
Returns:
Variable: The Variable contains the unpadded sequences.
Variable: A LoDTensor whose recursive sequence length is consistent with the information of the length parameter and it has the same data type with input.