Sign inGet started
Paper · arXiv

DanLing NestedTensor: Composable Multi-Ragged Tensors for Deep Learning

Variable-size inputs are common in deep learning, but dense batching allocates a shared envelope and spends computation on padding. The cost multiplies across varying axes: an explicit pair state allocates $BN_{\max}^2$ positions instead of $\sum_i N_i^2$. Packing removes that waste, but composing packed operations still requires the logical axes and sample boundaries a flat buffer no longer exposes. We present DanLing NestedTensor, a PyTorch tensor abstraction that makes multi-ragged structure a property of the tensor itself. Packed values carry tensor-backed partitions and logical dimension order, so broadcasting creates ragged axes, feature transformations retain them, and reductions c...

AuthorsZhiyuan Chen
Primary categorycs.LG
Published24 September 2026
Last updated at source24 September 2026
cs.LGcs.AIcs.PF
Embed this entry
<iframe src="https://silytics.si/embed/item/9f948cc7-ef64-4310-a9ad-e5cdbc39e83d" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.