Skip to content

[REFACTOR][TIRx] Use tensor names for types and allocation APIs - #20519

Merged
tqchen merged 2 commits into
apache:mainfrom
tqchen:tirx/tensor-naming
Oct 2, 2026
Merged

tqchen merged 2 commits into
apache:mainfrom
tqchen:tirx/tensor-naming

Conversation

@tqchen

@tqchen tqchen commented Oct 2, 2026

Copy link
Copy Markdown
Member

Rename the TIRx annotation to T.Tensor and its structural type to tirx.TensorType. Align allocation and declaration helpers, registered Ops, builders, reflection, printing, and consumers with alloc_tensor and decl_tensor while preserving storage and layout semantics, including declaration-without-data allocation.

@tqchen
tqchen force-pushed the tirx/tensor-naming branch from d7456dc to 5b8ef99 Compare October 2, 2026 20:44
tqchen added 2 commits October 2, 2026 21:22
Name the script annotation Tensor and its structural type TensorType. Align allocation and declaration constructors, native operators, reflection, and script printing with alloc_tensor and decl_tensor while preserving their storage and layout contracts.
Keep the TFLite FlexBufferType schema name independent of TIRx tensor type terminology.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants