提交 6114635c authored 作者: Frederic Bastien's avatar Frederic Bastien

flake8

上级 9a9fdf5f
...@@ -3,12 +3,6 @@ from copy import copy ...@@ -3,12 +3,6 @@ from copy import copy
from unittest import TestCase from unittest import TestCase
import numpy as np import numpy as np
imported_scipy_special = False
try:
import scipy.special
imported_scipy_special = True
except ImportError:
pass
import theano import theano
from theano import scalar, gof, tensor from theano import scalar, gof, tensor
...@@ -27,6 +21,13 @@ from ..type import GpuArrayType, get_context, gpuarray_shared_constructor ...@@ -27,6 +21,13 @@ from ..type import GpuArrayType, get_context, gpuarray_shared_constructor
from pygpu import ndgpuarray as gpuarray from pygpu import ndgpuarray as gpuarray
imported_scipy_special = False
try:
import scipy.special
imported_scipy_special = True
except ImportError:
pass
# This is actually a test for GpuElemwise # This is actually a test for GpuElemwise
class test_gpu_Broadcast(test_elemwise.test_Broadcast): class test_gpu_Broadcast(test_elemwise.test_Broadcast):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论