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

remove import not used detected by flymake

上级 b8e58590
......@@ -503,7 +503,6 @@ class test_Eig(utt.InferShapeTester):
warn=False)
def test_eval(self):
import math
A = theano.tensor.matrix(dtype=self.dtype)
self.assertEquals([e.eval({A: [[1]]}) for e in self.op(A)],
[[1.0], [[1.0]]])
......
import sys
import time
import unittest
import numpy
import theano
import theano.tensor as T
from theano import function, Mode
from theano.tests import unittest_tools as utt
from theano.tensor.nnet import conv
......
import unittest
import sys
import time
import numpy
import theano.tensor as tensor
from theano.tests import unittest_tools as utt
from theano.tensor.signal.downsample import (DownsampleFactorMax, max_pool_2d,
DownsampleFactorMaxGrad)
from theano import function, Mode
from theano import function
class TestDownsampleFactorMax(utt.InferShapeTester):
......
import cPickle
from copy import copy
from itertools import imap
import time
import unittest
import numpy
from nose.plugins.skip import SkipTest
from numpy.testing import dec
import theano
from theano.gof.python25 import all, any
from theano.gof import Variable, Op
from theano import gof, scalar, config
from theano import tensor
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论