sequence.sequence_length
Returns the length of the input sequence.
Args
self
(Array<Tensor<T>>
) - The input sequence.
Returns
The length of the sequence as scalar, i.e. a tensor of shape [].
Examples
Let's create new u32 Tensor with constant 42.
Last updated