提交 24a8dc48 authored 作者: Mohammad Pezeshki's avatar Mohammad Pezeshki

E127 resolved

上级 d6655c6e
...@@ -1387,8 +1387,8 @@ class numeric_grad(object): ...@@ -1387,8 +1387,8 @@ class numeric_grad(object):
total_size = __builtin__.sum(prod(sh) for sh in shapes) total_size = __builtin__.sum(prod(sh) for sh in shapes)
working_dtype = __builtin__.min((self.type_eps[dt], dt) working_dtype = __builtin__.min(
for dt in dtypes)[1] (self.type_eps[dt], dt) for dt in dtypes)[1]
# create un-initialized memory # create un-initialized memory
x = numpy.ndarray((total_size,), dtype=working_dtype) x = numpy.ndarray((total_size,), dtype=working_dtype)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论