提交 943b3479 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Flake8 fallout from the rebase.

上级 ccc39264
...@@ -225,7 +225,7 @@ class GpuArrayType(Type): ...@@ -225,7 +225,7 @@ class GpuArrayType(Type):
self.dtype == config.floatX)): self.dtype == config.floatX)):
if not isinstance(data, gpuarray.GpuArray): if not isinstance(data, gpuarray.GpuArray):
data = np.array(data, dtype=self.dtype, copy=False, data = np.array(data, dtype=self.dtype, copy=False,
ndmin=len(self.broadcastable)) ndmin=len(self.broadcastable))
else: else:
data = gpuarray.array(data, dtype=self.typecode, copy=False, data = gpuarray.array(data, dtype=self.typecode, copy=False,
ndmin=len(self.broadcastable), ndmin=len(self.broadcastable),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论