提交 bd1d6e6a authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Flake8 fix.

上级 68fb4f02
......@@ -999,7 +999,7 @@ def local_gpua_advanced_incsubtensor(op, context_name, inputs, outputs):
compute_capability = int(context.bin_id[-2])
if (compute_capability < 2 or x.ndim != 2 or y.ndim != 2 or
x.type.dtype != y.type.dtype):
x.type.dtype != y.type.dtype):
return GpuAdvancedIncSubtensor1(
set_instead_of_inc=set_instead_of_inc)
else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论