This issue tracks tensor extension types in vortex-tensor. These types support ML, AI, and scientific data, including images, video, sensor data, time-series data, embeddings, and matrices. Parent Epic: Extension Types #7683.
Design
Tensor support uses Vortex extension types with canonical storage dtypes. Tensor metadata and scalar functions live in vortex-tensor.
The tracked tensor types are:
FixedShapeTensor: A tensor with a fixed physical shape and dimension count.
VariableShapeTensor: A tensor whose shape can change while its dimension count stays fixed.
Matrix: A two-dimensional tensor.
Vector: A one-dimensional tensor.
Normalization is an explicit compute operation, not a logical refinement or physical encoding:
L2Norm(v) returns the magnitude of each tensor or vector.
L2Normalize(v) returns a struct with the normalized value and the same norm.
The scalar functions compute from decoded coordinates. They do not use encoding-specific arithmetic shortcuts.
Design references:
Steps
Unresolved questions
Implementation history
- Extension Types RFC established the extension-type design used by tensor work.
- Fixed-shape Tensor RFC described the first tensor extension design.
- #6812 added the experimental fixed-shape tensor extension and
CosineSimilarity.
- #6857 reorganized
vortex-tensor for more tensor-related types.
- #6964 added
Vector, L2Norm, and AnyTensor.
- #9767 replaces the
Normalized encoding with explicit L2Normalize semantics.
- #9768 moves
L2Norm to RowFn.
- #9769 moves inner product and cosine similarity to RowFn.
This issue tracks tensor extension types in
vortex-tensor. These types support ML, AI, and scientific data, including images, video, sensor data, time-series data, embeddings, and matrices. Parent Epic: Extension Types #7683.Design
Tensor support uses Vortex extension types with canonical storage dtypes. Tensor metadata and scalar functions live in
vortex-tensor.The tracked tensor types are:
FixedShapeTensor: A tensor with a fixed physical shape and dimension count.VariableShapeTensor: A tensor whose shape can change while its dimension count stays fixed.Matrix: A two-dimensional tensor.Vector: A one-dimensional tensor.Normalization is an explicit compute operation, not a logical refinement or physical encoding:
L2Norm(v)returns the magnitude of each tensor or vector.L2Normalize(v)returns a struct with the normalized value and the same norm.The scalar functions compute from decoded coordinates. They do not use encoding-specific arithmetic shortcuts.
Design references:
Steps
vortex-tensor.vortex-tensorfor multiple tensor-related types.Vectorextension type andL2Normexpression.Unresolved questions
FixedShapeTensor,VariableShapeTensor,Matrix, andVector.Implementation history
CosineSimilarity.vortex-tensorfor more tensor-related types.Vector,L2Norm, andAnyTensor.Normalizedencoding with explicitL2Normalizesemantics.L2Normto RowFn.