mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Easier english updated tech docs (#42016)
Summary: Just added a easier way to understand the tech docs  Pull Request resolved: https://github.com/pytorch/pytorch/pull/42016 Reviewed By: colesbury Differential Revision: D22735752 Pulled By: mrshenli fbshipit-source-id: 8e3dfb721f51ee0869b0df66bf856d9949553453
This commit is contained in:
parent
becc1b26dd
commit
42a0b51f71
|
|
@ -5,14 +5,15 @@
|
|||
Named Tensors
|
||||
=============
|
||||
|
||||
Named Tensors aim to make tensors easier to use by allowing users to associate
|
||||
explicit names with tensor dimensions. In most cases, operations that take
|
||||
dimension parameters will accept dimension names, avoiding the need to track
|
||||
dimensions by position. In addition, named tensors use names to automatically
|
||||
check that APIs are being used correctly at runtime, providing extra safety.
|
||||
Names can also be used to rearrange dimensions, for example, to support
|
||||
Named Tensors allow users to give explicit names to tensor dimensions.
|
||||
In most cases, operations that take dimension parameters will accept
|
||||
dimension names, avoiding the need to track dimensions by position.
|
||||
In addition, named tensors use names to automatically check that APIs
|
||||
are being used correctly at runtime, providing extra safety. Names can
|
||||
also be used to rearrange dimensions, for example, to support
|
||||
"broadcasting by name" rather than "broadcasting by position".
|
||||
|
||||
|
||||
.. warning::
|
||||
The named tensor API is a prototype feature and subject to change.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user