提交 31bfa0b7 authored 作者: Frederic Bastien's avatar Frederic Bastien

make import follow convention.

上级 ae9b8c2f
from nose.plugins.skip import SkipTest
import sys import sys
import time
import unittest
from nose.plugins.skip import SkipTest
import theano.sparse import theano.sparse
if not theano.sparse.enable_sparse: if not theano.sparse.enable_sparse:
raise SkipTest('Optional package sparse disabled') raise SkipTest('Optional package sparse disabled')
from theano import function, Mode
from theano.gof import OpWiseCLinker
import theano, numpy
import theano.tensor as T
import scipy.sparse import scipy.sparse
from scipy.signal import convolve2d from scipy.signal import convolve2d
import scipy.sparse as sparse import scipy.sparse as sparse
import numpy import numpy
import numpy as N import numpy as N
from theano import function
import theano
import theano.tensor as T
from theano.sparse.sandbox import sp from theano.sparse.sandbox import sp
from theano.tests import unittest_tools as utt from theano.tests import unittest_tools as utt
import unittest
import time
class TestSP(unittest.TestCase): class TestSP(unittest.TestCase):
def test_convolution(self): def test_convolution(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论