提交 0d04c13f authored 作者: Nan Rosemary Ke's avatar Nan Rosemary Ke

flake 8

上级 ec2f4ed2
......@@ -702,10 +702,10 @@ Test them first, as they are not guaranteed to always provide a speedup.""")
node = a[1]
if (isinstance(node.op, pool.Pool)):
if not cuda.dnn.dnn_available():
print ('Need CuDNN for pooling')
print('Need CuDNN for pooling')
if (isinstance(node.op, LogSoftmax)):
if not cuda.dnn.dnn_available():
print ('Need CuDNN for LogSoftmax')
print('Need CuDNN for LogSoftmax')
if not printed_tip:
print(" Sorry, no tip for today.")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论