[Codemod][GleanFbcode] Remove dead includes in caffe2/test (#43953)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/43953

Reviewed By: malfet

Differential Revision: D23445556

fbshipit-source-id: 89cd6833aa06f35c5d3c99d698abb08cd61ae4ab
This commit is contained in:
generatedunixname89002005287564@sandcastle1415.cln1.facebook.com
2020-09-01 21:46:38 -07:00
committed by Facebook GitHub Bot
parent c259146477
commit 1dd658f28f
9 changed files with 0 additions and 10 deletions

View File

@ -3,8 +3,6 @@
#include <torch/torch.h>
#include <test/cpp/api/support.h>
using namespace torch::nn;
using namespace std;
struct OperationTest : torch::test::SeedingFixture {
protected:
void SetUp() override {}

View File

@ -5,7 +5,6 @@
#include <test/cpp/api/support.h>
using namespace torch::nn;
using namespace torch::test;
struct TransformerTest : torch::test::SeedingFixture {};

View File

@ -5,7 +5,6 @@
#include "torch/csrc/autograd/generated/variable_factories.h"
#include "torch/csrc/autograd/variable.h"
#include "torch/csrc/jit/codegen/fuser/interface.h"
#include "torch/csrc/jit/frontend/code_template.h"
#include "torch/csrc/jit/frontend/tracer.h"
#include "torch/csrc/jit/ir/alias_analysis.h"
#include "torch/csrc/jit/ir/attributes.h"

View File

@ -30,7 +30,6 @@
namespace torch {
namespace jit {
using namespace torch::jit::fuser;
using namespace torch::jit::fuser;
namespace {

View File

@ -11,7 +11,6 @@ namespace torch {
namespace distributed {
namespace rpc {
using namespace torch::distributed::autograd;
class TestE2EProcessGroup : public TestE2EBase {
protected:

View File

@ -11,7 +11,6 @@ namespace torch {
namespace distributed {
namespace rpc {
using namespace torch::distributed::autograd;
#ifdef USE_TENSORPIPE

View File

@ -15,7 +15,6 @@
#include <torch/csrc/jit/tensorexpr/ir_simplifier.h>
#include <torch/csrc/jit/tensorexpr/loopnest.h>
#include <torch/csrc/jit/tensorexpr/tensor.h>
#include <torch/csrc/jit/testing/file_check.h>
namespace torch {
namespace jit {

View File

@ -16,7 +16,6 @@
#include "torch/csrc/jit/tensorexpr/loopnest.h"
#include "torch/csrc/jit/tensorexpr/tensor.h"
#include <torch/csrc/jit/testing/file_check.h>
namespace torch {
namespace jit {

View File

@ -7,7 +7,6 @@
#include "torch/csrc/jit/tensorexpr/function.h"
#include "torch/csrc/jit/tensorexpr/ir.h"
#include "torch/csrc/jit/tensorexpr/ir_printer.h"
#include "torch/csrc/jit/tensorexpr/llvm_codegen.h"
#include "torch/csrc/jit/tensorexpr/loopnest.h"
#include "torch/csrc/jit/tensorexpr/tensor.h"