提交 7a2a76c2 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron 提交者: Pascal Lamblin

Remove extra parentheses

上级 515f7319
......@@ -879,7 +879,7 @@ def local_lift_abstractconv2dgrad(node, context_name):
# have one of their inputs on the GPU already and the other not on the
# GPU (to avoid endlessly replacing things).
@register_opt()
@local_optimizer()([AbstractConv2d])
@local_optimizer([AbstractConv2d])
def local_gpu_abstractconv2d(node):
if isinstance(node.op, BaseAbstractConv2d):
if ((isinstance(node.inputs[0].type, GpuArrayType) or
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论