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

Update comment following code review

上级 641b8143
......@@ -1577,9 +1577,8 @@ local_elemwise_alloc = register_specialize(
@gof.local_optimizer([T.Elemwise])
def local_fill_sink(node):
"""
f(fill(a, b), fill(c, d), e) -> fill(a, fill(c, f(b, d, e)))
f(fill(a, b), fill(c, d), e) -> fill(c, fill(a, f(b, d, e)))
f need to be an elemwise
f need to be an elemwise that isn't a fill.
"""
if (not hasattr(node, 'op') or
not isinstance(node.op, T.Elemwise) or
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论