From 167f243371caef525eff7785c533a7c0f480ea62 Mon Sep 17 00:00:00 2001 From: Daniel Ingram Date: Sun, 9 Dec 2018 22:52:01 -0500 Subject: [PATCH] Remove unnecessary imports --- setup.py | 4 +--- tensor_comprehensions/torch_tc/tc_function.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 4150a94c2..fc5c60993 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,9 @@ -from setuptools import setup, Extension, distutils, Command, find_packages +from setuptools import setup, find_packages import setuptools.command.install import setuptools.command.develop import setuptools.command.build_py import distutils.command.build -from shutil import copyfile import subprocess, os -import glob TOP_DIR = os.path.realpath(os.path.dirname(__file__)) diff --git a/tensor_comprehensions/torch_tc/tc_function.py b/tensor_comprehensions/torch_tc/tc_function.py index 0cfa5233f..0562ef6a2 100644 --- a/tensor_comprehensions/torch_tc/tc_function.py +++ b/tensor_comprehensions/torch_tc/tc_function.py @@ -13,7 +13,7 @@ # limitations under the License. ############################################################################## -import torch, pdb +import torch from torch.autograd import Variable, Function