提交记录/
Revert "Remove named tensor (#173895)"
This reverts commit 991d22dd38e9bda32ede7cc4ef0e86a0c5d69305. Reverted https://github.com/pytorch/pytorch/pull/173895 on behalf of https://github.com/jeanschmidt due to breaks internal signals, see D106831244 ([comment](https://github.com/pytorch/pytorch/pull/173895#issuecomment-4589252870))
此提交改动包含超过 100 个文件的变更,将仅显示前 100 个文件的差异。
共 214 个文件变更+8586-237
Maten/src/ATen/ATen.h+1-0
@@ -11,6 +11,7 @@
11#include <ATen/Dispatch.h>11#include <ATen/Dispatch.h>
12#include <ATen/Formatting.h>12#include <ATen/Formatting.h>
13#include <ATen/Functions.h>13#include <ATen/Functions.h>
14+#include <ATen/NamedTensor.h>
14#include <ATen/ScalarOps.h>15#include <ATen/ScalarOps.h>
15#include <ATen/Tensor.h>16#include <ATen/Tensor.h>
16#include <ATen/TensorGeometry.h>17#include <ATen/TensorGeometry.h>
Aaten/src/ATen/Dimname.h+1-0文件内容审核中,请稍后刷新重试
Aaten/src/ATen/NamedTensor.h+1-0文件内容审核中,请稍后刷新重试
Aaten/src/ATen/NamedTensorUtils.cpp+509-0
Aaten/src/ATen/NamedTensorUtils.h+212-0
Maten/src/ATen/NestedTensorImpl.cpp+1-0
Maten/src/ATen/TensorIterator.cpp+46-9
Maten/src/ATen/TensorIterator.h+19-4
Maten/src/ATen/TensorMeta.h+8-4
Aaten/src/ATen/TensorNames.cpp+130-0
Aaten/src/ATen/TensorNames.h+75-0
Maten/src/ATen/TypeDefault.h+1-0
Maten/src/ATen/VmapModeRegistrations.cpp+8-0
Maten/src/ATen/autocast_mode.cpp+8-0
Maten/src/ATen/autocast_mode.h+17-1
Maten/src/ATen/core/ATen_fwd.h+2-0
Maten/src/ATen/core/ATen_pch.h+2-0
Aaten/src/ATen/core/Dimname.cpp+81-0
Aaten/src/ATen/core/Dimname.h+48-0
Aaten/src/ATen/core/NamedRegistrations.cpp+532-0

评论