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
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 @@
namespace at {
class Tensor;
-struct Type;
}
namespace c10 {
@@ -292,9 +291,6 @@
*/
virtual const Storage& storage() const;
- // TODO: Delete me.
- friend struct at::Type;
-
/**
* The number of elements in a tensor.
*