Remove redundant includes from ir.{h,cpp}.
authorMikhail Zolotukhin <mvz@fb.com>
Thu, 17 Jan 2019 07:38:13 +0000 (23:38 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 17 Jan 2019 07:43:45 +0000 (23:43 -0800)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/16080

Differential Revision: D13701796

Pulled By: ZolotukhinM

fbshipit-source-id: 7efae3a0fd969376e4b438a8d8fb96adb33dc55c

torch/csrc/jit/ir.cpp
torch/csrc/jit/ir.h

index 28ee32d..b2644d9 100644 (file)
@@ -1,10 +1,8 @@
 #include <torch/csrc/jit/ir.h>
 
-#include <torch/csrc/autograd/function.h>
 #include <torch/csrc/jit/assertions.h>
 #include <torch/csrc/jit/constants.h>
 #include <torch/csrc/jit/operator.h>
-#include <torch/csrc/jit/passes/alias_analysis.h>
 #include <torch/csrc/jit/passes/python_print.h>
 #include <torch/csrc/jit/script/schema_matching.h>
 
index 969aa44..99d1660 100644 (file)
 #include <torch/csrc/jit/named_value.h>
 #include <torch/csrc/jit/resource_guard.h>
 #include <torch/csrc/jit/scope.h>
-#include <torch/csrc/jit/source_location.h>
-#include <torch/csrc/jit/source_range.h>
 #include <torch/csrc/jit/type.h>
 
 #include <torch/csrc/WindowsTorchApiMacro.h>
 #include <torch/csrc/utils/disallow_copy.h>
 #include <torch/csrc/utils/functional.h>
 #include <torch/csrc/utils/object_ptr.h>
-#include <torch/csrc/utils/python_stub.h>
 
 #include <ATen/ATen.h>
 #include <c10/util/ArrayRef.h>