提交 3436e186 authored 作者: Frederic Bastien's avatar Frederic Bastien

make import follow pep8 style.

上级 9769b065
import sys, time import sys, time
from theano.compile.sharedvalue import shared
import numpy
# Skip test if cuda_ndarray is not available.
from nose.plugins.skip import SkipTest
from theano.compile.pfunc import pfunc from theano.compile.pfunc import pfunc
from theano import tensor from theano import tensor
import theano import theano
import numpy
# Skip test if cuda_ndarray is not available.
from nose.plugins.skip import SkipTest
import theano.sandbox.cuda as cuda import theano.sandbox.cuda as cuda
if cuda.cuda_available == False: if cuda.cuda_available == False:
raise SkipTest('Optional package cuda disabled') raise SkipTest('Optional package cuda disabled')
import theano.compile.mode
from theano.sandbox.cuda.type import CudaNdarrayType from theano.sandbox.cuda.type import CudaNdarrayType
if theano.config.mode=='FAST_COMPILE': if theano.config.mode=='FAST_COMPILE':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论