提交 15cc9076 authored 作者: nouiz's avatar nouiz

Merge pull request #5 from dwf/nouiz_join_test

pep8 + missing imports
......@@ -653,7 +653,7 @@ def test_gpujoin_assert_cndas():
a = theano.shared(_a)
try:
c = cuda.basic_ops.gpu_join(1,a)
c = cuda.basic_ops.gpu_join(1, a)
# can't "assert False" here, as we want the assertion
# error from gpu_join
except AssertionError:
......@@ -733,7 +733,7 @@ class T_Join_and_Split(theano.tensor.tests.test_basic.T_Join_and_Split):
self.make_vector_op = cuda.GpuJoin
self.floatX = "float32"
# In FAST_COMPILE mode, we force the FAST_RUN mode for optimization.
self.hide_error = not theano.config.mode in ['DebugMode', 'DEBUG_MODE']
self.hide_error = theano.config.mode not in ['DebugMode', 'DEBUG_MODE']
self.shared = cuda.shared_constructor
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论