提交 ff12f37d authored 作者: Frederic's avatar Frederic

Remove import not used.

上级 e798bce3
...@@ -6,6 +6,9 @@ import warnings ...@@ -6,6 +6,9 @@ import warnings
from theano.tensor.basic import * from theano.tensor.basic import *
from theano.tensor.subtensor import * from theano.tensor.subtensor import *
from theano.tensor.type_other import * from theano.tensor.type_other import *
from theano.tensor.var import (
AsTensorError, _tensor_py_operators, TensorVariable,
TensorConstantSignature, TensorConstant)
from theano.tensor import opt from theano.tensor import opt
from theano.tensor import opt_uncanonicalize from theano.tensor import opt_uncanonicalize
......
...@@ -5,7 +5,6 @@ __docformat__ = "restructuredtext en" ...@@ -5,7 +5,6 @@ __docformat__ = "restructuredtext en"
import sys import sys
import warnings import warnings
from itertools import izip from itertools import izip
from textwrap import dedent
import numpy import numpy
from copy import copy as python_copy from copy import copy as python_copy
...@@ -17,13 +16,12 @@ from theano.gof import Apply, Constant, Op, Variable ...@@ -17,13 +16,12 @@ from theano.gof import Apply, Constant, Op, Variable
from theano.tensor import elemwise from theano.tensor import elemwise
from theano.tensor.var import (AsTensorError, TensorVariable, from theano.tensor.var import (AsTensorError, TensorVariable,
TensorConstantSignature,
TensorConstant, TensorConstant,
_tensor_py_operators) _tensor_py_operators)
from theano.tensor.type import TensorType from theano.tensor.type import TensorType
from theano import scalar as scal from theano import scalar as scal
from theano.gof.python25 import partial, any, all, maxsize from theano.gof.python25 import partial, any, all
from theano.gof.utils import hashtype, MethodNotDefined from theano.gof.utils import hashtype
from theano import compile, printing from theano import compile, printing
from theano.printing import pprint, min_informative_str from theano.printing import pprint, min_informative_str
......
...@@ -2,7 +2,6 @@ import numpy ...@@ -2,7 +2,6 @@ import numpy
import theano import theano
from theano.compat import PY3 from theano.compat import PY3
from theano.compat.python2x import all
from theano.scalar import ComplexError, IntegerDivisionError from theano.scalar import ComplexError, IntegerDivisionError
from theano.gof import Constant, Variable from theano.gof import Constant, Variable
from theano.gof.utils import hashtype from theano.gof.utils import hashtype
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论