提交 1da4876e authored 作者: Frederic Bastien's avatar Frederic Bastien

Remove useless code as the parent class does exactly the same thing.

上级 6622cf3e
...@@ -398,9 +398,6 @@ class GpuArrayType(Type): ...@@ -398,9 +398,6 @@ class GpuArrayType(Type):
return pygpu.gpuarray.zeros(shape, dtype=self.typecode, return pygpu.gpuarray.zeros(shape, dtype=self.typecode,
context=self.context) context=self.context)
def make_variable(self, name=None):
return self.Variable(self, name=name)
def __eq__(self, other): def __eq__(self, other):
return (type(self) == type(other) and return (type(self) == type(other) and
self.typecode == other.typecode and self.typecode == other.typecode and
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论