提交 8a1e184e authored 作者: sebastien-j's avatar sebastien-j

Add c_code_cache_version()

上级 0f3f2644
...@@ -1811,6 +1811,9 @@ class AdvancedIncSubtensor1(Op): ...@@ -1811,6 +1811,9 @@ class AdvancedIncSubtensor1(Op):
Py_XDECREF(arglist); Py_XDECREF(arglist);
""" % locals() """ % locals()
def c_code_cache_version(self):
return (1,)
def perform(self, node, inp, out_): def perform(self, node, inp, out_):
# TODO opt to make this inplace # TODO opt to make this inplace
x, y, idx = inp x, y, idx = inp
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论