提交 380bcbb3 authored 作者: Reyhane Askari's avatar Reyhane Askari

Added @regirster_canonizalize to local_reduce_broadcastable as the new fixes do…

Added @regirster_canonizalize to local_reduce_broadcastable as the new fixes do not break the tests anymore
上级 e5348939
...@@ -5542,11 +5542,7 @@ def local_useless_reduce(node): ...@@ -5542,11 +5542,7 @@ def local_useless_reduce(node):
return [summed] return [summed]
# Enabling this optimization at canonicalization step break this test: @register_canonicalize
# theano/tensor/tests/test_opt.py:T_local_reduce.test_local_reduce_broadcast_some_0
# see gh-790 issue.
#
# @register_canonicalize
@register_uncanonicalize @register_uncanonicalize
@register_specialize @register_specialize
@gof.local_optimizer(ALL_REDUCE) @gof.local_optimizer(ALL_REDUCE)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论