提交 7f5f1f8e authored 作者: carriepl's avatar carriepl

Merge pull request #2810 from abergeron/fix_syntax

Fix syntax error.
......@@ -531,8 +531,7 @@ def local_gpua_softmaxwithbias(node):
@op_lifter([theano.tensor.opt.Assert])
def local_assert(node):
if (node.inputs[0].owner and
isinstance(node.inputs[0].owner.op, HostFromGpu):
isinstance(node.inputs[0].owner.op, HostFromGpu)):
return [host_from_gpu(node.op(node.inputs[0].owner.inputs[0],
*node.inputs[1:]))]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论