Sequence
A Sequence represents an array of tensors.
Data types
Orion supports currently these Sequence
types.
SequenceTrait
SequenceTrait
defines the operations that can be performed on a Sequence of tensors.
Last updated
A Sequence represents an array of tensors.
Orion supports currently these Sequence
types.
SequenceTrait
defines the operations that can be performed on a Sequence of tensors.
Last updated
Data type | dtype |
---|---|
function | description |
---|---|
32-bit integer (signed)
Array<Tensor<i32>>
8-bit integer (signed)
Array<Tensor<i8>>
32-bit integer (unsigned)
Array<Tensor<u32>>
Fixed point (signed)
Array<Tensor<FP8x23 | FP16x16 | FP32x32 | FP64x64>>
Constructs a tensor sequence containing the input tensors.
Returns an empty tensor sequence.
Returns the length of the input sequence.
Insert a tensor into a sequence.
Outputs the tensor at the specified position in the input sequence.
Concatenate a sequence of tensors into a single tensor.