Expand description
ONNX sequence values and zero-copy split views.
Sequence elements reuse the session crate’s Tensor representation. A
SeqTensor is an immutable view over an Arc-owned device allocation, so
constructing, inserting, erasing, indexing, and splitting a sequence only
clone handles and metadata. Tensor storage is never deep-copied by those
operations.
Structs§
- SeqTensor
- An immutable tensor view used as one sequence element.
- Sequence
Value - An ordered homogeneous list of immutable, shared tensors.
Enums§
- Sequence
Error - A typed failure from an ONNX sequence operation.
- Split
Spec - ONNX
SplitToSequencesplit-input interpretation.
Functions§
- concat
- Concatenate a sequence along an existing axis or stack it on a new axis.
- split
- Split raw contiguous tensor bytes into a sequence of session tensors.
- split_
tensor - Split a shared tensor into metadata-only views over the same allocation.
Type Aliases§
- Sequence
Result - Result type for sequence value and byte-helper operations.