提交 1df11a0c authored 作者: Iban Harlouchet's avatar Iban Harlouchet

flake8 for theano/gof/tests/test_cmodule.py

上级 b90c39c5
...@@ -27,7 +27,8 @@ class MyOp(theano.compile.ops.DeepCopyOp): ...@@ -27,7 +27,8 @@ class MyOp(theano.compile.ops.DeepCopyOp):
rand = numpy.random.rand() rand = numpy.random.rand()
return ("""printf("%(rand)s\\n");""" + code) % locals() return ("""printf("%(rand)s\\n");""" + code) % locals()
# Else, no C code # Else, no C code
return super(DeepCopyOp, self).c_code(node, name, inames, onames, sub) return super(theano.compile.ops.DeepCopyOp, self).c_code(
node, name, inames, onames, sub)
def test_inter_process_cache(): def test_inter_process_cache():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论