提交 e7152e10 authored 作者: Gabe Schwartz's avatar Gabe Schwartz

Fix Shape op C code for unknown types.

上级 4e9eafa6
...@@ -2479,7 +2479,7 @@ class Shape(Op): ...@@ -2479,7 +2479,7 @@ class Shape(Op):
#TODO: if your type is not listed here, make a damn registry of #TODO: if your type is not listed here, make a damn registry of
# shape_i ops for various types of variables. # shape_i ops for various types of variables.
# Do not continue this madness. # Do not continue this madness.
return super(Shape_i, self).c_code(node, name, (x,), (out,), sub) return super(Shape, self).c_code(node, nodename, (x,), (out,), sub)
def c_code_cache_version(self): def c_code_cache_version(self):
return (1,) return (1,)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论