mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
committed by
Facebook GitHub Bot
parent
c259146477
commit
1dd658f28f
@ -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 {}
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
#include <test/cpp/api/support.h>
|
||||
|
||||
using namespace torch::nn;
|
||||
using namespace torch::test;
|
||||
|
||||
struct TransformerTest : torch::test::SeedingFixture {};
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
namespace torch {
|
||||
namespace jit {
|
||||
|
||||
using namespace torch::jit::fuser;
|
||||
using namespace torch::jit::fuser;
|
||||
|
||||
namespace {
|
||||
|
||||
@ -11,7 +11,6 @@ namespace torch {
|
||||
namespace distributed {
|
||||
namespace rpc {
|
||||
|
||||
using namespace torch::distributed::autograd;
|
||||
|
||||
class TestE2EProcessGroup : public TestE2EBase {
|
||||
protected:
|
||||
|
||||
@ -11,7 +11,6 @@ namespace torch {
|
||||
namespace distributed {
|
||||
namespace rpc {
|
||||
|
||||
using namespace torch::distributed::autograd;
|
||||
|
||||
#ifdef USE_TENSORPIPE
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user