From bbbfda72a0824f7de99de3271d93d753515647e1 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Thu, 13 Dec 2018 17:07:57 -0800 Subject: [PATCH] Remove TensorImpl -> Type dependency Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/15086 Reviewed By: dzhulgakov Differential Revision: D13425628 fbshipit-source-id: 08a8a774d17b071367454e027012a02f96d177d4 --- c10/core/TensorImpl.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/c10/core/TensorImpl.h b/c10/core/TensorImpl.h index 8957ec1..0d617bc 100644 --- a/c10/core/TensorImpl.h +++ b/c10/core/TensorImpl.h @@ -34,7 +34,6 @@ C10_DECLARE_int64(caffe2_max_keep_on_shrink_memory); namespace at { class Tensor; -struct Type; } namespace c10 { @@ -292,9 +291,6 @@ struct C10_API TensorImpl : public c10::intrusive_ptr_target { */ virtual const Storage& storage() const; - // TODO: Delete me. - friend struct at::Type; - /** * The number of elements in a tensor. * -- 2.7.4