PyTorch Front-End Features: Named Tensors and Type Promotion
summary
PyTorch 1.3 introduces named tensors that attach dimension names (e.g., N C H W) so code can sum and align dimensions by name instead of position, enabling a single image-normalization function that works across formats via the align_as helper. It ships experimental eager-mode support, allows mixing named and unnamed tensors, and propagates names through ops though gradients are unnamed. The release also adds type promotion that auto-promotes mixed dtypes and scalar/tensor ops using numpy-like rules.
AI-written summary · about
chapters (6)
related talks
28mOn Tensors
06mMaking PyTorch More "NumPy Compatible"
11mPyTorch 2.0: Dynamic Shapes Support
24mWhat's New for Dynamic Shapes in PyTorch 2.1
19mGet to know PyTorch - a cutting edge open source AI framework for Machine Learning
54mKeynote: PyTorch 2.1 Technical Deep Dive
19mIncreasing the Impact of AI Through Better Software (Pytorch Updates)
45mTensorly: A Flexible Python Framework for Machine Learning
