提交 467a5d6a authored 作者: David Warde-Farley's avatar David Warde-Farley

Clean up imports, remove unused 'any'.

上级 610ded40
...@@ -8,15 +8,12 @@ To read about different sparse formats, see U{http://www-users.cs.umn.edu/~saad/ ...@@ -8,15 +8,12 @@ To read about different sparse formats, see U{http://www-users.cs.umn.edu/~saad/
from itertools import izip from itertools import izip
import sys import sys
import numpy, theano import numpy
import theano
import scipy.sparse import scipy.sparse
from theano import gof from theano import gof, tensor, compile, scalar, config
from theano import tensor from theano.gof.python25 import all
from theano import compile
from theano import scalar
from theano import config
from theano.gof.python25 import all, any
from theano.tensor import blas from theano.tensor import blas
sparse_formats = ['csc', 'csr'] sparse_formats = ['csc', 'csr']
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论