提交 a312daf1 authored 作者: Frederic Bastien's avatar Frederic Bastien

pep8 and remove a newlly added fast_compile tag.

上级 447ab781
......@@ -3568,7 +3568,7 @@ def local_join_empty(node):
@register_specialize
@register_canonicalize('fast_compile')
@register_canonicalize
@gof.local_optimizer([T.Join])
def local_join_make_vector(node):
"""Join(0, make_vector1, make_vector2, ...) => Join(0, make_vector12, ...)
......
......@@ -3409,7 +3409,7 @@ class Test_local_useless_elemwise_comparison(unittest.TestCase):
sequences=[X],
non_sequences=None)
Z = X_sum + Y
#theano.printing.debugprint(Z)
# theano.printing.debugprint(Z)
# here is the output for the debug print:
"""
Elemwise{add,no_inplace} [id A] ''
......@@ -3436,7 +3436,7 @@ class Test_local_useless_elemwise_comparison(unittest.TestCase):
mode = theano.compile.get_default_mode().excluding('fusion')
f = theano.function([X, Y], Z, mode=mode)
#theano.printing.debugprint(f, print_type=True)
# theano.printing.debugprint(f, print_type=True)
# here is the output for the debug print:
"""
Elemwise{Add}[(0, 0)] [id A] <TensorType(float64, vector)> '' 7
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论