提交 74bb6553 authored 作者: Benjamin Scellier's avatar Benjamin Scellier

flake8

上级 ee8089db
...@@ -1419,8 +1419,8 @@ class CAReduce(Op): ...@@ -1419,8 +1419,8 @@ class CAReduce(Op):
"self.scalar_op (%s) has no attribute 'identity'" "self.scalar_op (%s) has no attribute 'identity'"
% (variable, dimension, self.scalar_op))) % (variable, dimension, self.scalar_op)))
else: else:
variable = self.ufunc.reduce(variable, dimension, variable = self.ufunc.reduce(variable, dimension,
dtype=acc_dtype) dtype=acc_dtype)
variable = numpy.asarray(variable) variable = numpy.asarray(variable)
if numpy.may_share_memory(variable, input): if numpy.may_share_memory(variable, input):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论