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

fix bug in test.

上级 31c73982
......@@ -87,7 +87,7 @@ class T_sigmoid_opts(unittest.TestCase):
class T_softplus_opts(unittest.TestCase):
def setUp(self):
if theano.config.mode == 'FAST_COMPILE':
m = theano.compile.mode.get_mode('FAST_RUN')
m = theano.compile.mode.get_mode('FAST_RUN').excluding('local_elemwise_fusion')
else:
m = theano.compile.mode.get_default_mode().excluding('local_elemwise_fusion')
self.m = m
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论