Remove unused TensorImpl dependencies
authorSebastian Messmer <messmer@fb.com>
Sat, 8 Dec 2018 00:18:20 +0000 (16:18 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 8 Dec 2018 00:23:48 +0000 (16:23 -0800)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/14792

Reviewed By: ezyang

Differential Revision: D13336843

fbshipit-source-id: 12f84799a70c2e90a8b934dd8dc031c09a6782f0

aten/src/ATen/core/TensorImpl.cpp

index f8e1275..7b5ab38 100644 (file)
@@ -1,11 +1,8 @@
 #include <ATen/core/TensorImpl.h>
 
 #include <c10/core/Backend.h>
-#include <ATen/core/LegacyTypeDispatch.h>
 #include <ATen/core/WrapDimMinimal.h>
-#include "c10/util/Optional.h"
-
-#include <ATen/core/VariableHooksInterface.h>
+#include <c10/util/Optional.h>
 
 namespace at {