提交 493bcaaf authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

flake8

上级 def199ad
...@@ -3109,7 +3109,7 @@ def local_dnn_reduction(node): ...@@ -3109,7 +3109,7 @@ def local_dnn_reduction(node):
node.op.acc_dtype == 'float64'): node.op.acc_dtype == 'float64'):
return return
if node.op.pre_scalar_op != None: if node.op.pre_scalar_op is not None:
# Might want to handle absmax, avg, norm1, norm2 here # Might want to handle absmax, avg, norm1, norm2 here
return return
......
...@@ -16,11 +16,9 @@ from theano.tensor.signal.pool import Pool, MaxPoolGrad, AveragePoolGrad ...@@ -16,11 +16,9 @@ from theano.tensor.signal.pool import Pool, MaxPoolGrad, AveragePoolGrad
from theano.tensor.nnet.abstract_conv import get_conv_output_shape, get_conv_gradinputs_shape from theano.tensor.nnet.abstract_conv import get_conv_output_shape, get_conv_gradinputs_shape
from theano.tensor.nnet import bn from theano.tensor.nnet import bn
from theano.tensor.tests import test_elemwise
from .. import dnn from .. import dnn
from ..basic_ops import GpuAllocEmpty from ..basic_ops import GpuAllocEmpty
from ..type import gpuarray_shared_constructor, get_context from ..type import gpuarray_shared_constructor
from .config import mode_with_gpu, mode_without_gpu, test_ctx_name, ref_cast from .config import mode_with_gpu, mode_without_gpu, test_ctx_name, ref_cast
from . import test_nnet from . import test_nnet
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论