//aten\src\ATen\templates\TensorBody.h
Tensor: TensorBase
//aten\src\ATen\core\TensorBase.h
TensorBase{
c10::intrusive_ptr<TensorImpl, UndefinedTensorImpl> impl_;
}
//c10\core\TensorImpl.h
struct C10_API TensorImpl : public c10::intrusive_ptr_target{
Storage storage_;
}
//c10\core\Storage.h
struct C10_API Storage{
c10::intrusive_ptr<StorageImpl> storage_impl_;
}
//c10\core\StorageImpl.h
struct C10_API StorageImpl : public c10::intrusive_ptr_target{//应该是最底层的了
}